docker-machine restart

restart Usage: docker-machine restart [arg...] Restart a machine Description: Argument(s) are one or more machine names. Restart a machine. Oftentimes this is equivalent to docker-machine stop; docker-machine start. But some cloud driver try to implement a clever restart which keeps the same ip address. $ docker-machine restart dev Waiting for VM to start...

docker-machine provision

provision Re-run provisioning on a created machine. Sometimes it may be helpful to re-run Machine’s provisioning process on a created machine. Reasons for doing so may include a failure during the original provisioning process, or a drift from the desired system state (including the originally specified Swarm or Engine configuration). Usage is docker-machine provision [name]. Multiple names may be specified. $ docker-machine provision foo bar Copying certs to the local machine directory... Copy

docker-machine ls

ls Usage: docker-machine ls [OPTIONS] [arg...] List machines Options: --quiet, -q Enable quiet mode --filter [--filter option --filter option] Filter output based on conditions provided --timeout, -t "10" Timeout in seconds, default to 10s --format, -f Pretty-print machines using a Go template Timeout The ls command tries to reach each host in parallel. If a given host does not answer in

docker-machine kill

kill Usage: docker-machine kill [arg...] Kill (abruptly force stop) a machine Description: Argument(s) are one or more machine names. For example: $ docker-machine ls NAME ACTIVE DRIVER STATE URL dev * virtualbox Running tcp://192.168.99.104:2376 $ docker-machine kill dev $ docker-machine ls NAME ACTIVE DRIVER STATE URL dev * virtualbox Stopped

docker-machine ip

ip Get the IP address of one or more machines. $ docker-machine ip dev 192.168.99.104 $ docker-machine ip dev dev2 192.168.99.104 192.168.99.105

docker-machine inspect

inspect Usage: docker-machine inspect [OPTIONS] [arg...] Inspect information about a machine Description: Argument is a machine name. Options: --format, -f Format the output using the given go template. By default, this will render information about a machine as JSON. If a format is specified, the given template will be executed for each result. Go’s text/template package describes all the details of the format. In addition to the text/template syntax, there are some additional fu

docker-machine env

env Set environment variables to dictate that docker should run a command against a particular machine. $ docker-machine env --help Usage: docker-machine env [OPTIONS] [arg...] Display the commands to set up the environment for the Docker client Description: Argument is a machine name. Options: --swarm Display the Swarm config instead of the Docker daemon --shell Force environment to be configured for a specified shell: [fish, cmd, powershell], default is sh/bash --unset, -u

docker-machine help

help Usage: docker-machine help [arg...] Shows a list of commands or help for one command Usage: docker-machine help subcommand For example: $ docker-machine help config Usage: docker-machine config [OPTIONS] [arg...] Print the connection config for machine Description: Argument is a machine name. Options: --swarm Display the Swarm config instead of the Docker daemon

docker-machine create

create Create a machine. Requires the --driver flag to indicate which provider (VirtualBox, DigitalOcean, AWS, etc.) the machine should be created on, and an argument to indicate the name of the created machine. $ docker-machine create --driver virtualbox dev Creating CA: /home/username/.docker/machine/certs/ca.pem Creating client certificate: /home/username/.docker/machine/certs/cert.pem Image cache does not exist, creating it at /home/username/.docker/machine/cache... No default boot2docker i

docker-machine config

config Usage: docker-machine config [OPTIONS] [arg...] Print the connection config for machine Description: Argument is a machine name. Options: --swarm Display the Swarm config instead of the Docker daemon For example: $ docker-machine config dev --tlsverify --tlscacert="/Users/ehazlett/.docker/machines/dev/ca.pem" --tlscert="/Users/ehazlett/.docker/machines/dev/cert.pem" --tlskey="/Users/ehazlett/.docker/machines/dev/key.pem" -H tcp://192.168.99.103:2376