docker_cheatsheet

docker commandline for life

1 minute read

List of docker commands to use when building and cleaning up images and containers.

builds image (Dockerfile in current dir) docker build . # build image with specific Dockerfile docker build -f Dockfile_unittest # list docker images docker images # list docker image ids docker images -q # check current running containers docker ps # check all containers (not running too) docker ps -a # only return container ids docker ps -a -q # start a container in an interactive bash session docker run -it IMAGEID bash Nested Commands Nesting commands together allow you to do much more complex actions against mulitple containers or images.

1 minute read

Hello World! It’s a blog! I’ve decided to document some of the adventures I’ve had in building, deploying, and operating web applications at scale. The focus will be on the things I do from a day to day basis: continous integration, software deployment, configuration management and operations. If you want to learn more about me feel free to checkout the about section. I have yet to setup a comments section, if you have any please send them my way via a direct message on twitter @stevemiskiewicz