notes
parent
165a49d255
commit
8d02114553
14
Notes.txt
14
Notes.txt
|
@ -30,11 +30,17 @@ docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.
|
||||||
--pull image
|
--pull image
|
||||||
docker pull cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5
|
docker pull cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5
|
||||||
|
|
||||||
Run container in prod env
|
Stop old container
|
||||||
docker run --restart=always -p 5006:80 -d cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5
|
docker stop chatbot-api && docker rm chatbot-api
|
||||||
|
|
||||||
Rename container
|
Run container in prod env
|
||||||
docker rename <container_id> chatbot-api
|
docker run -d --name chatbot-api --restart=always -p 5006:80 cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5
|
||||||
|
|
||||||
|
Remove old image
|
||||||
|
docker rmi cloud.canister.io:5000/tstanciu/chatbot:api-1.0.4
|
||||||
|
|
||||||
|
Logs
|
||||||
|
docker logs chatbot-api
|
||||||
##############################################################################################
|
##############################################################################################
|
||||||
|
|
||||||
Docker container last version: 1.0.5
|
Docker container last version: 1.0.5
|
||||||
|
|
Loading…
Reference in New Issue