notes update
parent
dfde7c9dec
commit
1d3bdd6f0a
|
@ -11,23 +11,22 @@ docker run -p 5053:80 -it network-resurrector-frontend:1.0.0
|
|||
|
||||
Push image to registry:
|
||||
--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
|
||||
docker login --username=tstanciu --password="***REMOVED***" cloud.canister.io:5000
|
||||
docker login --username=admin --password="***REMOVED***" alpine-nexus:8500
|
||||
|
||||
--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
|
||||
--login to registry with readonly rights
|
||||
docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.io:5000
|
||||
--login to registry
|
||||
|
||||
--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
|
||||
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
|
||||
docker rename <container_id> network-resurrector-frontend
|
||||
|
|
Loading…
Reference in New Issue