在线文档教程
Docker 17
机器 | Machine

docker机器配置 | docker-machine 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 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

机器配置子命令