How to Deploy Docker in Debian 10

How to deploy docker in debian 10

1
2
3
cat << EOF > /etc/docker/aemon.json\n{\n  "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn/"]\n}\n\nEOF
systemctl retart docker
systemctl restart docker

Install docker-compose

1
2
3
4
5
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Built with Hugo
Theme Stack designed by Jimmy