diff --git a/操作文档/11、Docker常用命令.md b/操作文档/11、Docker常用命令.md index aaf11f8..bb8d9e7 100644 --- a/操作文档/11、Docker常用命令.md +++ b/操作文档/11、Docker常用命令.md @@ -185,3 +185,62 @@ docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' 4d2 172.17.0.3 ``` + + +#### 替换$Docker$内部的更新源 + +``` +cat </etc/apt/sources.list +deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free +deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free +EOF +``` + +``` +#更新apt +apt update + +#安装vim命令 +apt install vim + +# 网络工具 +apt install iputils-ping net-tools iproute2 -y +``` + + + +#### $Docker$镜像源 + +``` +DockerHub 镜像仓库 镜像加地址 +DockerHub 镜像加速代理 https://docker.anyhub.us.kg + https://docker.chenby.cn + https://dockerhub.jobcher.com +镜像使用说明 https://dockerhub.icu +Docker镜像加速站 https://docker.ckyl.me +镜像使用说明 https://docker.awsl9527.cn +镜像使用说明 https://docker.hpcloud.cloud +DaoCloud 镜像站 https://docker.m.daocloud.io +AtomHub 可信镜像仓库平台 (只包含基础镜像,共336个) https://atomhub.openatom.cn +``` + + + +#### 安装 $Docker$ $UI$ + +```shell +docker pull docker.anyhub.us.kg/uifd/ui-for-docker +``` + + + +#### 运行$Docker$ $UI$ + +``` +docker run -it -d --name docker-web -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock docker.io/uifd/ui-for-docker +``` + + + + +