开发主机环境:
安装docker环境
参考以下链接安装DOCKER:
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
- $ sudo apt update
- $ sudo apt-get install ca-certificates curl gnupg lsb-release
- $ sudo mkdir -p /etc/apt/keyrings
- $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
- $ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
- > $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
- $ sudo apt-get update
- $ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
- $ apt-cache madison docker-ce
- $ sudo apt-get install docker-ce=5:20.10.17~3-0~ubuntu-bionic docker-ce-cli=5:20.10