docker安装
debian、ubuntu 安装 docker
一键脚本
我整理到了一个脚本里,一键安装
1 | curl https://raw.githubusercontent.com/skybrim/ShellScript/master/debian_docker_install.sh | sh |
安装基本工具
1 | sudo apt update |
安装 docker
1 | sudo apt remove docker docker-engine docker.io containerd runc |
安装 docker-compose
1 | sudo curl -L "https://github.com/docker/compose/releases/download/v2.14.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |