Created
September 24, 2019 06:43
-
-
Save zeagord/89985f13b9c2ec800cd44dec1fab4ff0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker build -t order-service:latest . | |
| docker run -p 9910:8080 order-service:latest | |
| docker images | |
| docker ps # This will give the container id | |
| docker exec -it <container id> /bin/sh | |
| docker stop <container id> | |
| docker start <container id> | |
| docker rm <container id> | |
| docker rmi <container id> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment