docker相关

docker安装

ubuntu

sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.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

https://docs.docker.com/engine/install/ubuntu/

docker-compose安装

ubuntu

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

https://docs.docker.com/compose/install/

docker添加国内镜像加速

https://blog.csdn.net/qq_32510597/article/details/105873846

国内仓库及镜像

https://www.cnblogs.com/wushuaishuai/p/9984228.html

文件复制

https://www.cnblogs.com/randomlee/p/8761799.html

docker添加代理

https://blog.csdn.net/qq_18279477/article/details/79310618

制作docker镜像及基础软件安装

https://blog.csdn.net/github_39577257/article/details/107180891

https://www.cnblogs.com/pjcd-32718195/p/11762079.html

查看日志

https://www.cnblogs.com/mr-wuxiansheng/p/11412489.html

posted @ 2021-03-03 20:25  benny1  阅读(38)  评论(0编辑  收藏  举报