1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 15:21:40 +08:00
ohmyzsh/plugins/docker-machine/README.md
2017-11-07 08:05:19 -08:00

647 B

docker-machine plugin for oh my zsh

Usage

docker-vm

Will create a docker-machine with the name "dev" (required only once)
To create a second machine call "docker-vm foobar" or pass any other name

docker-up

This will start your "dev" docker-machine (if necessary) and set it as the active one
To start a named machine use "docker-up foobar"

docker-switch dev

Use this to activate a running docker-machine (or to switch between multiple machines)
You need to call either this or docker-up when opening a new terminal

docker-stop

This will stop your "dev" docker-machine
To stop a named machine use "docker-stop foobar"