From 694bdf22fa91c68c64a7fe2a013eb3709f7549fe Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 26 Dec 2020 01:42:33 +0200 Subject: [PATCH] notes update --- private/Notes.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/private/Notes.txt b/private/Notes.txt index 9cb98af..50bf243 100644 --- a/private/Notes.txt +++ b/private/Notes.txt @@ -14,30 +14,30 @@ Docker commands: Create image: --from solution folder: -docker image build -t "reverse-proxy-frontend:1.0.0" . +docker image build -t "reverse-proxy-frontend:1.0.4" . Run image: -docker run -p 5055:80 -it reverse-proxy-frontend:1.0.0 +docker run -p 5055:80 -it reverse-proxy-frontend:1.0.4 Push image to registry: --tag image -docker tag reverse-proxy-frontend:1.0.0 cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.0 +docker tag reverse-proxy-frontend:1.0.4 cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.4 --login to registry docker login --username=tstanciu --password="***REMOVED***" cloud.canister.io:5000 --push image -docker push cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.0 +docker push cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.4 Pull image from registry --login to registry with readonly rights docker login --username=***REMOVED*** --password=8ed11ddb1d1712906b637a41 cloud.canister.io:5000 --pull image -docker pull cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.0 +docker pull cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.4 Run container in prod env -docker run --restart=always -p 5005:80 -d cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.0 +docker run --restart=always -p 5005:80 -d cloud.canister.io:5000/tstanciu/reverse-proxy:frontend-1.0.4 Rename container docker rename reverse-proxy-frontend