docker快捷控制
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker rmi $(docker images -aq)
docker restart $(docker ps -aq)
docker stop $(docker-compose ps -aq)
docker rm $(docker-compose ps -aq)
curl -sfL https://get.rainbond.com/install_docker | bash
https://blog.csdn.net/wangyue23com/article/details/121332433
https://blog.csdn.net/wangerrong/article/details/126750198
docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /home/portainer:/data portainer/portainer
docker stop portainer && docker rm portainer
sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.29.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
mv -f docker-compose-linux-x86_64 /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
https://blog.csdn.net/weixin_42782429/article/details/131848057
find / -name docker.service
ExecStart=/usr/local/bin/dockerd --tlsverify --tlscacert=/etc/docker/cert/ca.pem --tlscert=/etc/docker/cert/server-cert.pem --tlskey=/etc/docker/cert/server-key.pem -H tcp://0.0.0.0:2376 -H unix://var/run/docker.sock
systemctl daemon-reload && systemctl restart docker
https://blog.csdn.net/qq_43776514/article/details/124426918
https://zhuanlan.zhihu.com/p/542307872
https://codeleading.com/article/90346036597
https://www.cnblogs.com/astonc/p/17307333.html
https://www.cnblogs.com/gqry/p/17073369.html
docker swarm init --advertise-addr 192.168.1.93
docker swarm join-token worker
docker swarm join-token manager
docker swarm join --token SWMTKN-1-0u9p5yc737gg9wcj9rf3km8dkvzhtsqh6a7r51ii57yi70qot2-6jw1z4iclamvg32iip9m9gafy 192.168.1.93:2377
docker info