docker commands

master
Tudor Stanciu 2020-05-02 04:41:24 +03:00
parent 345f1d48ad
commit 0da8956eb6
1 changed files with 19 additions and 1 deletions

18
Notes
View File

@ -10,3 +10,21 @@ 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/
---------------------
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