Docker-machine Add an Existing docker Host Problem

  docker, question

According to official documents, add a docker host to docker-machine via url, with the following command

clipboard.png
But when I used it, I made a grammatical mistake?

clipboard.png

My 192.168.20.108 has tcp configured

[root@localhost ~]# ps -ef|grep docker
 root      2600     1  0 18:18 ?  00:00:02 /usr/bin/dockerd --registry-mirror=https://2lqq34jg.mirror.aliyuncs.com --registry-mirror=http://  hub-mirror.c.163.com --insecure-registry=192.168.10.38:5000 -H 0.0.0.0:2375 -H unix:///var/run/docker.sock

So, why not?

Official documents have not been updated and PR has been submitted.

Nowdocker-machineRequire use--driver noneExplicitly state that drivers are not used. Therefore, the command created should be modified to read:

docker-machine create -d none --url=tcp://192.168.20.108:2375 vmware_docker01