[root@server2 docker1]# rm -f docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm
docker-ce-18.09.5-3.el7.x86_64.rpm containerd.io-1.2.5-3.1.el7.x86_64.rpm
docker-ce-cli-18.09.5-3.el7.x86_64.rpm [root@server2 docker1]# yum install -y *
[root@server2 docker1]# systemctl start docker [root@server2 images]# docker
load -i registry2.tar [root@server2 images]# docker load -i nginx.tar
014cf8bfcb2d: Loading layer 58.46MB/58.46MB 832a3ae4ac84: Loading layer
53.91MB/53.91MB e89b70d28795: Loading layer 3.584kB/3.584kB Loaded image:
nginx:latest [root@server2 images]# docker run -d --name registry -p 5000:5000
-v /opt/registry:/var/lib/registry registry:2 [root@server2 images]# ll
/var/run/docker.sock srw-rw---- 1 root docker 0 Jun 2 16:06
/var/run/docker.sock [root@server2 images]# chmod 777 /var/run/docker.sock
[root@server2 images]# su - jenkins [root@server2 images]# vim /etc/sudoers 92

newly build docker task

[kiosk@foundation24 demo]$ vim Dockerfile FROM nginx COPY index.html
/usr/share/nginx/html [kiosk@foundation24 demo]$ vim index.html
[kiosk@foundation24 demo]$ git add Dockerfile [kiosk@foundation24 demo]$ git
add index.html [kiosk@foundation24 demo]$ git commit -m "add dockerfile"
[master 87dbecb] add dockerfile 2 files changed, 4 insertions(+) create mode
100644 Dockerfile [kiosk@foundation24 demo]$ git push -u origin master Counting
objects: 6, done. Delta compression using up to 4 threads. Compressing objects:
100% (2/2), done. Writing objects: 100% (4/4), 404 bytes | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0) To git@
95b0c55..87dbecb master -> master Branch master set up to track remote branch
master from origin.
View on Web page

©2019-2020 Toolsou All rights reserved,
Send love - A little romance for programmers VHDL—— Design of frequency divider Python Implementation of Hanoi Tower code It's over , Starting salary 30khtml+css+js Make a simple website home page QQ Login interface implementation Hill sorting of sorting algorithm ——c++ realization 【 Wechat applet learning 】 Netease music cloud code page implementation details Resume the 13th session python Blue Bridge Cup 2022 Solution to the 13th Blue Bridge Cup ( whole )