<pre name="code" class="cpp">docker:/data# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5739360d1030 registry "docker-registry" 42 seconds ago Up 42 seconds 0.0.0.0:5000->5000/tcp sad_mccarthy c664
错误提示如下: WARNING! Using --password via the CLI is insecure. Use --password-stdin. Error response from********: connect: connection refused 解决方法: 官方的配置地址:https://docs.docker.com/engine/reference/commandline/dockerd/#options 配置文件的默认路径:/etc/docker/daemon