Shipyard not showing containers after docker daemon switch to TCP port

不问归期 提交于 2020-01-17 13:47:10

问题


I've switched docker daemon to listen on TCP port (more here). Docker command (cli) is already working, but when I run shipyard with this docker-compose I don't see any image which was visible before. Should I change something in the docker-compose or this won't work ever?

Thanks


回答1:


Solution was to configure the service (in my case on CentOs)

creating file /etc/systemd/system/docker.service.d/override.conf with content

[Service] ExecStart= ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2375 -H fd:// --insecure-registry 10.0.1.70:5000

and reloading and restarting the daemon did the trick.

so I have both tcp and ?filedscriptor?



来源:https://stackoverflow.com/questions/37881876/shipyard-not-showing-containers-after-docker-daemon-switch-to-tcp-port

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!