docker

 yum install -y yum-plugin-downloadonly yum-utils

yum install --downloadonly --downloaddir=./ libseccomp policycoreutils-python docker-ce-selinux
yum localinstall --downloadonly --downloaddir=./ libseccomp policycoreutils-python docker-ce-selinux

yumdownloader libseccomp policycoreutils-python docker-ce-selinux --resolve --destdir=./

 

systemctl reload docker 也是能生效的吗?
 
只有跟运行时相关的配置才需要重启进程,普通的该配置只需要relaod或者-HUP就行了
 centos
 docker run -d --name docker-images-build-release \
--privileged=true \
-v /opt/devops/apps/mpc/volumes/docker-build-release:/home/app/data \
-p 2223:22 \
-p 3873:873 \
192.168.10.202/mpc-dev/mpc-build-centos7:v1 \
/usr/sbin/init

 

 
docker run -d --name dind-node-debian-dev \
--privileged=true \
-v /opt/devops/apps/mpc/volumes/dind-node-debian-dev:/home/app/data \
-p 2224:22 \
dind-node-debain:1.0.0 \
/lib/systemd/systemd

  

posted @ 2023-06-27 15:50  牧之丨  阅读(9)  评论(0编辑  收藏  举报