Docker Community Forums

Share and learn in the Docker community.

Equivalent of boot2docker command

docker

(Lepkon) #1

There was a list of command with boot2docker
http://odewahn.github.io/docker-jumpstart/boot2docker.html

what’s the equivalent with docker toolbox ? How can I stop, remove container now ? I tried to use stop and rm they do not work.


(Nathan Le Claire) #2

docker-machine is now what boot2docker (the CLI) used to be.

To create: docker-machine create -d virtualbox default
To stop: docker-machine stop default
To start: docker-machine start default

To set the environment variables for connection via Docker CLI:

$ eval $(docker-machine env default)

Then, simply invoking docker as normal should work.