Docker Compose & Machine Cheatsheet

Docker Machine

Create a default docker machine with Virtualbox as its driver:

Configure Docker Client to act against default Docker Machine:

Unset Docker Client to normal state:

Run with these commands:

Docker Compose

Run Docker Compose

To run Compose in headless state use this:

Stop Docker Compose’s containers

To remove all volumes while taking containers down, use: