Skip to content

Docker and Docker Compose

Jean Valverde edited this page Jul 23, 2016 · 2 revisions

Requirements: Virtualbox or VmWare

First time, set-up Docker and create a base machine

Docker is on the extras repo of Scoop:

scoop add extras

Set-up Docker stack:

scoop install docker docker-compose docker-machine

Create our Docker base machine (will be named default):

docker-machine create

Each time starting working with Docker

docker-machine start

docker-machine env

We copy the command to access directly our Docker machine, something like:

& "$HOME\AppData\Local\scoop\apps\docker-machine\0.7.0\docker-machine.exe" env | Invoke-Expression

Then we can bring up any Docker image:

docker run ubuntu /bin/echo 'Hello world'

When finished:

docker-machine stop

Getting our Docker machine:

docker-machine ls