Skip to content
Search

Docker:Machine

lastmod 2025-02-14created 2015-12-1412 edits

Docker Machine is a tool for provisioning and managing hosts with the Docker Engine installed.

Docker machine information

To see how to connect Docker to this machine:

$ docker-machine env default

Run this command to configure your shell:

$ eval "$(docker-machine env default)"

ENV sample

export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.98.100:2376"
export DOCKER_CERT_PATH="/Users/username/.docker/machine/machines/default"
export DOCKER_MACHINE_NAME="default"

Default startup

If the default Docker machine is not running, proceed as follows.

## 머신 목록 확인.
$ docker-machine ls

## 기본(default) 머신의 상태 확인.
$ docker-machine status default

## 기본(default) 머신 시작.
$ docker-machine start default

## 기본(default) 머신으로 환경변수 설정.
$ eval "$(docker-machine env default)"

List machines

$ docker-machine ls

See also

Favorite site

author Zer0 sitemap