[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,
java Compile time and runtime exceptions in Maximum security risk of cloud computing : Unclear safety responsibility git Pull the remote branch and switch to it TypeScript Data types in is enough ( Essence )2020 year 6 month 29 day C# Class library Interface signature verification Obviously post Why does the request display parameters in the address bar ?Python realization switch method Online troubleshooting HTTP Status code ——415 and 406springboot Multi profile configuration ( Essence )2020 year 7 month 15 day Wechat applet import and include difference