小菜鸟
发布时间:2016-06-14 10:23:27
CentOS 7.0 安装 DockerInstall with yumLog into your machine as a user with sudo or root privileges.Make sure your existing yum packages are up-to-date.$ sudo yum updateAdd the yum repo.$ sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'[dockerrepo]name=Docker Reposito.........【阅读全文】
发布时间:2016-06-14 10:14:43
CentOS卸载清理Docker1 杀死所有正在运行的容器docker kill $(docker ps -a -q)2 删除所有已经停止的容器docker rm $(docker ps -a -q)3 批量删除名字存在字符串“test”的镜像docker rmi $(docker images | awk '/^test/ { print $3 }')4 删除所有镜像docker rmi $(docker images -q).........【阅读全文】