NEOGX 发表于 2016-10-30 09:23 # docker info The server probably has client authentication (--tlsverify) enabled. Please check your TLS client certification settings: Get https://Server:2376/v1.24/info: remote error: bad certificate 这样的输出是什么情况啊? |
18177114672 发表于 2016-10-29 21:34 虽然设置了,但是没有提供客户端certificate英文不错的话,可以参考这个 https://integratedcode.us/2015/07/29/using-tls-with-the-docker-engine/ https://github.com/docker/toolbox/issues/255 |
pwd是什么意思呢?是swarm的路径还是本机的呢? |
环境变量是加到那个文件啊? export DOCKER_HOST=tcp://Server:2375 export DOCKER_CERT_PATH="`pwd`" export DOCKER_TLS_VERIFY=1 ".bashrc" 102L, 3202C written root@Docker:~# source .bashrc root@Docker:~# docker info The server probably has client authentication (--tlsverify) enabled. Please check your TLS client certification settings: Get https://Server:2375/v1.24/info: remote error: bad certificate 怎么会报错呢? |