docker

win10安装

一、安装

https://www.docker.com/docker-windows

 

二、设置

控制面板-->程序-->Hyper-V

docker、docker-compose安装,卸载

 

linux安装:

http://www.cnblogs.com/yufeng218/p/8370670.html

  

docker-compose安装:

linux安装:

 

//需要先安装pip
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip -V  //查看pip版本

sudo pip install docker-compose  //安装docker-compose

如果报错则使用:
pip install docker-compose --ignore-installed requests //进行安装

  

https://blog.csdn.net/pushiqiang/article/details/78682323

  

docker卸载

yum list installed | grep docker

  docker、docker-compose安装,卸载

yum -y remove docker.x86_64
yum -y remove docker-ce-cli.x86_64
yum -y remove containerd.io.x86_64

  docker、docker-compose安装,卸载