HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

docker-machine — Create and manage machines running Docker. More information: <https://github.com/docker-archive-publ

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandandclimanagedocker-machinerunningmachines

Problem

How to use the docker-machine command: Create and manage machines running Docker. More information: <https://github.com/docker-archive-public/docker.machine>.

Solution

docker-machine — Create and manage machines running Docker. More information: <https://github.com/docker-archive-public/docker.machine>.

List currently running Docker machines:
docker-machine ls


Create a new Docker machine with specific name:
docker-machine create {{name}}


Get the status of a machine:
docker-machine status {{name}}


Start a machine:
docker-machine start {{name}}


Stop a machine:
docker-machine stop {{name}}


Inspect information about a machine:
docker-machine inspect {{name}}

Code Snippets

List currently running Docker machines

docker-machine ls

Create a new Docker machine with specific name

docker-machine create {{name}}

Get the status of a machine

docker-machine status {{name}}

Start a machine

docker-machine start {{name}}

Stop a machine

docker-machine stop {{name}}

Context

tldr-pages: common/docker-machine

Revisions (0)

No revisions yet.