From 0da8956eb6b20e70850173f9e1f900064307d9fc Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 2 May 2020 04:41:24 +0300 Subject: [PATCH] docker commands --- Notes | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Notes b/Notes index 85acfa6..b63dfbf 100644 --- a/Notes +++ b/Notes @@ -9,4 +9,22 @@ Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted https://medium.com/@svinkle/how-to-deploy-a-react-app-to-a-subdirectory-f694d46427c1 https://stackoverflow.com/questions/49429906/how-should-i-configure-create-react-app-to-serve-app-from-subdirectory -https://skryvets.com/blog/2018/09/20/an-elegant-solution-of-deploying-react-app-into-a-subdirectory/ \ No newline at end of file +https://skryvets.com/blog/2018/09/20/an-elegant-solution-of-deploying-react-app-into-a-subdirectory/ + + +--------------------- +Docker commands: +--------------------- +docker image build -t "play-nine:1.0.0" . +docker run -p 5050:80 -it play-nine:1.0.0 + +docker push cloud.canister.io:5000/tstanciu/play-nine:1.0.0 +docker pull cloud.canister.io:5000/tstanciu/play-nine:1.0.0 + +--------------------- +Registry: cloud.canister.io:5000/tstanciu +User: tstanciu +Key for readonly operations: ***REMOVED*** + +docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.io:5000 +docker login --username=yourcanisterID --password=yourpassword cloud.canister.io:5000