docker安装
- 编程
- 2022-01-05
- 937
# install docker curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh if 【 ! $(getent group docker) 】; then sudo groupadd docker; else echo "docker user group already exists" fi sudo gpasswd -a $USER docker sudo service docker restart rm -rf get-docker.sh
保存为 install-docker.sh
命令: sh install-docker.sh
安装后重启
上一篇:docker命令
发表评论