docker-compose安装
https://docs.docker.com/compose/install/#install-compose
安装
例如:12345678 sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version 启动例子 docker-compose -f docker-compose.yml up -d
docker machine
https://docs.docker-cn.com/machine/install-machine/#installing-machine-directly
安装
|
|
查看版本12 docker-machine versiondocker-machine version 0.12.1, build c8b17e8
创建
运行docker-machine
,添加驱动--driver virtualbox
,如果是第一次创建,则加上参数default
,否则添加name
123456 查看 docker-machine ls 创建 docker-machine create --driver virtualbox default docker-machine env default