diff --git a/private/docker-notes.txt b/private/docker-notes.txt index c88519a..18cf7bb 100644 --- a/private/docker-notes.txt +++ b/private/docker-notes.txt @@ -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 network-resurrector-frontend