notes update

master
Tudor Stanciu 2021-04-25 00:39:36 +03:00
parent dfde7c9dec
commit 1d3bdd6f0a
1 changed files with 6 additions and 7 deletions

View File

@ -11,23 +11,22 @@ docker run -p 5053:80 -it network-resurrector-frontend:1.0.0
Push image to registry: Push image to registry:
--tag image --tag image
docker tag network-resurrector-frontend:1.0.0 cloud.canister.io:5000/tstanciu/network-resurrector:frontend-1.0.0 docker tag network-resurrector-frontend:1.0.0 alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
--login to registry --login to registry
docker login --username=tstanciu --password="***REMOVED***" cloud.canister.io:5000 docker login --username=admin --password="***REMOVED***" alpine-nexus:8500
--push image --push image
docker push cloud.canister.io:5000/tstanciu/network-resurrector:frontend-1.0.0 docker push alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
Pull image from registry Pull image from registry
--login to registry with readonly rights --login to registry
docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.io:5000
--pull image --pull image
docker pull cloud.canister.io:5000/tstanciu/network-resurrector:frontend-1.0.0 docker pull alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
Run container in prod env Run container in prod env
docker run -d --name network-resurrector-frontend --restart=always -p 5009:80 cloud.canister.io:5000/tstanciu/network-resurrector:frontend-1.0.0 docker run -d --name network-resurrector-frontend --restart=always -p 5009:80 alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
Rename container Rename container
docker rename <container_id> network-resurrector-frontend docker rename <container_id> network-resurrector-frontend