SaltyCrane Blog — Notes on JavaScript and web development

Docker cheat sheet

Listing

Removing

Pulling images

Publishing images

See also: Get started with Docker - Share you image

Building images from Dockerfiles

Running containers

docker run is a combination of (optionally) docker pull, docker create, and docker start. See also Docker run reference.

Creating containers

Starting / stopping containers

Interacting with containers

* docker-compose commands are shaded in gray. They assume a docker-compose.yml file in the current directory.

See also