Skip to content

Instantly share code, notes, and snippets.

@zeagord
Created September 24, 2019 06:43
Show Gist options
  • Select an option

  • Save zeagord/89985f13b9c2ec800cd44dec1fab4ff0 to your computer and use it in GitHub Desktop.

Select an option

Save zeagord/89985f13b9c2ec800cd44dec1fab4ff0 to your computer and use it in GitHub Desktop.
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