Skip to content

Instantly share code, notes, and snippets.

@lyndametref
Last active July 28, 2016 07:44
Show Gist options
  • Save lyndametref/eb14bdb6bce097f20d19e578f10f603f to your computer and use it in GitHub Desktop.
Save lyndametref/eb14bdb6bce097f20d19e578f10f603f to your computer and use it in GitHub Desktop.
Docker commands

Start container dicsconnected from the shell

docker-compose up -d

Shell in running container

docker exec -it 6e796a466e53 bash

Stop and delete containers

docker-compose stop
docker-compose rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment