Docker镜像无法拉取问题以及更换镜像仓库教程

Docker镜像无法拉取问题以及更换镜像仓库教程

最近几天Docker出现拉取镜像失败timeout的提示,是由于某些原因,国内Docker镜像加速源停止服务了。 具体可以看看说明, A:https://mp.weixin.qq.com/s/kMuhV4utyCTOcoUviymNIA B:htt...

2024-06-29 admin 38 阅读
CentOS 7 安装 Docker compose

CentOS 7 安装 Docker compose

1、下载docker-compose文件  ,若下载慢,可以先下载到本地,然后传到对应的目录 curl -SL https://github.com/docker/compose/releases/download/v2.24.4/docker-compose-linux-x86_64 -...

2024-01-29 admin 28 阅读
解决 You are using pip version 8.1.2, however version 23.2.1 is available 报错。

解决 You are using pip version 8.1.2, however version 23.2.1 is available 报错。

在安装 docker-compose的时候需要先安装 或升级pip 使用命令 1、 pip install --upgrade pip   运行后会报错 如图。 2、原因是 yum install python-pip 时,CentOS7 默认安装的...

2023-12-29 admin 18 阅读
failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

failure: repodata/repomd.xml from endpoint: No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: HTTPS Error 404 - Not Found ...

2023-12-29 admin 22 阅读
解决 -bash: docker-compose: command not found

解决 -bash: docker-compose: command not found

解决 -bash: docker-compose: command not found 今天安装 Nginx Proxy Manager ,运行docker-compose 命令的时候报错   原因是没有安装 docker-compose  ,可以通过pip ...

2023-11-29 admin 18 阅读
Docker 学习常用命令

Docker 学习常用命令

重启容器 docker restart container_name 后台运行  docker run -d container_name 容器重启后自动运行 docker run -d container_name --restart=always 已经运行的容器增...

2023-10-29 admin 16 阅读
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-53a1479fa50e -j RETURN: iptables: No chain/target/match by that name. (exit status 1))

ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-53a1479fa50e -j RETURN: iptables: No chain/target/match by that name. (exit status 1))

ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  (iptables failed: iptables --wait -t nat -I DOCKER -i br-53a1479fa50e -j RETURN: iptables: No chain/target/ma...

2023-10-29 admin 23 阅读
Docker 查看真实路径

Docker 查看真实路径

查看docker容器实际挂载目录 docker inspect 90e0822f4ee1 | grep Mounts -A 50   #红色 修改为实例docker id 进入docker 容器 docker exec -it  90e0822f4ee1 /bin/sh      #红色...

2022-12-29 admin 22 阅读