Jpom/modules/sub-plugin/docker-cli
bwcx_jzy 14cbae90ab
fix
2022-02-07 18:28:45 +08:00
..
script jdk node use ARCH 2022-02-06 19:59:10 +08:00
src fix 2022-02-07 18:28:45 +08:00
pom.xml jdk node use ARCH 2022-02-06 19:59:10 +08:00
README.md optim docker build 2022-01-27 22:25:00 +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