rxc-app/notes/docker.txt

15 lines
788 B
Plaintext
Raw Normal View History

2020-05-03 03:15:26 +03:00
docker image build -t "react-redux-course:1.0.0" .
2020-05-11 02:19:55 +03:00
docker tag react-redux-course:1.0.3 cloud.canister.io:5000/tstanciu/react-redux-course:1.0.3
docker login --username=tstanciu --password="--------" cloud.canister.io:5000
docker push cloud.canister.io:5000/tstanciu/react-redux-course:1.0.3
2022-11-21 02:14:58 +02:00
docker login --username=deploy+tstanciu --password=********** cloud.canister.io:5000
2020-05-11 02:19:55 +03:00
docker pull cloud.canister.io:5000/tstanciu/react-redux-course:1.0.3
Multiple ports:
docker run -p 5050:80 -p 3001:3001 -it react-redux-course:1.0.20
2020-05-11 02:19:55 +03:00
docker run --restart=always -p 5002:80 -p 5003:3001 -d cloud.canister.io:5000/tstanciu/react-redux-course:1.0.3
Source for scripts that start multiple processes in the same docker container: https://docs.docker.com/config/containers/multi-service_container/