在Docker守护程序切换到TCP端口后,造船厂未显示容器 [英] Shipyard not showing containers after docker daemon switch to TCP port
问题描述
我已将docker守护进程切换为侦听TCP端口(更多信息)。 Docker命令(cli)已在工作,但是当我使用此docker-compose 我看不到任何可见的图像。我应该在docker-compose中更改某些内容,否则将永远无法工作?
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?
谢谢
推荐答案
解决方案是配置服务(在我的情况下为CentO)
Solution was to configure the service (in my case on CentOs)
创建文件
/ etc /systemd/system/docker.service.d/override.conf
包含内容
creating file
/etc/systemd/system/docker.service.d/override.conf
with content
[服务]
ExecStart =
ExecStart = / usr / bin / docker守护程序-H tcp://0.0.0.0:2375 -H fd://-不安全注册表10.0.1.70: 5000
然后重新加载并重新启动守护程序就可以了。
and reloading and restarting the daemon did the trick.
所以我既有tcp又有?filedscriptor?
so I have both tcp and ?filedscriptor?
这篇关于在Docker守护程序切换到TCP端口后,造船厂未显示容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!