Jpom/modules/sub-plugin/docker-cli
2022-02-13 23:21:11 +08:00
..
script jdk node use ARCH 2022-02-06 19:59:10 +08:00
src feat(add) docker swarm node list 2022-02-13 23:21:11 +08:00
pom.xml pre commit 2.8.9 2022-02-12 09:22:03 +08:00
README.md 脚本变量支持直接引入 2022-02-10 08:52:46 +08:00

mac

docker run -it -d --name=socat -p 2375:2375 -v /var/run/docker.sock:/var/run/docker.sock bobrik/socat TCP4-LISTEN:2375,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock

lsof -i:2375

https://www.cnblogs.com/xiaoqi/p/docker-java.html

https://www.cnblogs.com/boshen-hzb/p/10714414.html

https://blog.csdn.net/qq_40321119/article/details/107951712

https://blog.csdn.net/u012946310/article/details/82315302

vim /usr/lib/systemd/system/docker.service

systemctl daemon-reload && systemctl restart docker

systemctl status docker.service

--tlsverify \
--tlscacert=/home/docker-ca/ca.pem \
--tlscert=/home/docker-ca/server-cert.pem \
--tlskey=/home/docker-ca/server-key.pem \
-H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375
--tlsverify --tlscacert=/home/docker-ca/ca.pem --tlscert=/home/docker-ca/server-cert.pem --tlskey=/home/docker-ca/server-key.pem -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --tlsverify --tlscacert=/home/docker/tls-ca/ca.pem --tlscert=/home/docker/tls-ca/server-cert.pem --tlskey=/home/docker/tls-ca/server-key.pem -H tcp://0.0.0.0:2375