1.docker開啓experiment模式(查看docker service logs)docker
file : /etc/docker/daemon.json "experimental": true
2.docker開啓api遠程訪問json
file: /etc/sysconfig/docker OPTIONS=' ***** -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375'