Skip to content

Commit

Permalink
Update containerizing-your-application.md
Browse files Browse the repository at this point in the history
  • Loading branch information
askcarter authored Jul 20, 2016
1 parent 00e66e9 commit b1a737d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,18 @@ Once we have a working binary, we can use Docker to package it.
```bash
cat Dockerfile
docker build -t askcarter/monolith:1.0.0 .
```

After building the image, use Docker to verfiy that it still functions the same.
```bash
docker run -d askcarter/monolith:1.0.0
docker ps
docker inspect <container-id>
curl http://<docker-ip>
```

After verifying everything works as expected, clean up your environment.
```bash
docker stop <container-id>
docker rm <container-id>
docker rmi askcarter/monolith:1.0.0
Expand Down

0 comments on commit b1a737d

Please sign in to comment.