install_docker() {
wget -O - https://github.com/docker/docker-install/raw/master/install.sh | bash
systemctl restart docker
echo '{"graph": "/data/docker"}' >/etc/docker/daemon.json
systemctl restart docker
systemctl enable docker
}
install_docker
一键安装docker脚本
最新推荐文章于 2024-07-18 17:03:42 发布