forked from ScoopInstaller/Scoop
-
Notifications
You must be signed in to change notification settings - Fork 0
Docker and Docker Compose
Jean Valverde edited this page Jul 23, 2016
·
2 revisions
Requirements: Virtualbox or VmWare
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
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