信念完美网_CN - docker
https://www.xnwmw.cn/tag/docker/
-
docker国内镜像源地址
https://www.xnwmw.cn/10523.html
2025-01-12T21:55:47+08:00
国内镜像源地址使用南京大ghcr镜像:ghcr.nju.edu.cn替换地址image: ghcr.nju.edu.cn/xxx项目
-
群晖docker容器端口保存不了
https://www.xnwmw.cn/2212.html
2024-09-16T00:46:31+08:00
群晖docker容器端口保存不了ssh登录运行ip add 查看网络名字ip4docker network create -d macvlan --subnet=10.10.10.0/24 --gateway=10.10.10.1 -o parent=eth0 bridge-ip4
ip4/6docker network create -d macvlan --subnet=10.10.10.0/24 --gateway=10.10.10.1 --ipv6 --subnet=240e::/60 --gateway=240e::1 -o parent=eth0 bridge-ip4/6
[lightbox title="202409160045"][/lightbox]
-
docker安装1panel报错
https://www.xnwmw.cn/2134.html
2024-07-31T22:39:22+08:00
报错样子System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
解决方式# apt 更新
> sudo apt-get update
# 安装 systemd, systemctl
> sudo apt-get install systemd -y
> sudo apt-get install systemctl -y再去安装1panelhttps://1panel.cn/docs/installation/online_installation/
注意事项安装过程,本地注意主机的DNS,建议用114.114.114.114;保险点,我用8.8.8.8就安装不上。
-
docker源地址下载
https://www.xnwmw.cn/9427.html
2018-12-04T22:22:04+08:00
docker源码地址通过rpm包安装1、如果您无法使用Docker的存储库来安装Docker,则可以下载.rpm适用于您的发行版的 文件并手动安装。每次要升级Docker时都需要下载新文件。
2、转到https://download.docker.com/linux/centos/7/x86_64/stable/Packages/并下载.rpm要安装的Docker版本的文件。
3、下载到服务器本地,yum -y install /path/package.rpm
4、启用docker shell>systemctl start docker
5、运行docker shell> docker run hello-world卸载Docker CE1、卸载Docker包
shell>yum -y remove docker-ce2、主机上的图像,容器,卷或自定义配置文件不会自动删除。要删除所有图像,容器和卷:
shell> rm -rf /var/lib/docker