21 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-seliunx \ docker-engine-selinux \ docker-engin
23 sudo yum install -y yum-utils device-mapper-persistent-data lvm2
24 ls
25 cd docker
26 ls
27 sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
28 sudo yum makecache fast
30 sudo yum -y install docker-ce
41 cd /var/bin
42 ls
43 sudo systemctl start docker
44 ps -ef | grep docker
45 sudo systemctl stop docker
46 ps -ef | grep docker
47 systemctl start docker
48 ps -ef | grep docker
49 docker image ls
50 docker run hello-world
53 docker run ubuntu:15.10 /bin/echo "Hello world,曾梓仁"
54 docker run -i -t ubuntu:15.10 /bin/bash
55 docker run -d ubuntu:15.10 /bin/sh -c "while true;do echo hello world;sleep 1;done"
56 docker ps
57 docker logs e37d76404024
58 docker stop
59 docker ps
60 docker stop e37d76404024
61 docker ps
62 docker
63 docker tag --help
64 docker stats --help
65 docker tag --help
67 docker pull training/webapp
68 docker run -d -P training/webapp python app.py
69 docker ps
70 ping http://47.96.166.191:32768
71 docker run -d -p 5000:5000 training/webapp python app.py
72 docker ps
73 docker run -d -p 5001:5000 training/webapp python app.py
74 docker ps
75 docker port 8a933a83e018
76 docker port sleepy_payne
77 docker logs -f e1afd4a6a755
78 docker logs --help
79 docker -t e1afd4a6a755
80 docker logs -t e1afd4a6a755
81 docker top e1afd4a6a755
82 docker inspect e1afd4a6a755
83 docker stop e1afd4a6a755
84 docker ps
85 docker start e1afd4a6a755
86 docker ps
87 docker ps -l
88 docker restart e1afd4a6a755
89 docker ps
90 docker rm 3c68bd71c8cc
91 docker stop 3c68bd71c8cc
92 docker ps
93 docker rm 3c68bd71c8cc
94 docker ps
95 docker restart 3c68bd71c8cc
96 docker images
97 docker search httpd
98 docker pull httpd
99 docker images
100 docker pull httpd
101 docker images
102 docker run httpd
103 docker ps
104 docker run -t -i ubuntu:15.10 /bin/bash
105 docker ps
106 docker run -t e1afd4a6a755
107 docker run -t -i e1afd4a6a755
108 docker run -t -i training/webapp python app.py
109 docker commit -m="has update" -a="曾永洪" 8a933a83e018 runoob/ubuntu:sea
110 docker images
111 docker commit -m="has update" -a="曾永洪" 8a933a83e018 sea/ubuntu:sea
112 docker images
113 docker run -t -i sea/ubuntu:sea /bin/bash
114 docker ps
115 docker images
116 docker run -t -i sea/ubuntu:sea /bin/bash python app.py
117 docker run -t -i sea/ubuntu:sea python app.py
118 docker ps
119 cd /
120 ls
121 cd ls opt
122 ls opt
123 ls opt/containerd/
124 ls opt/containerd//bin/
125 ls opt/containerd/lib
126 ls
127 cd bin
128 ls
129 ls docker
130 cd docker
131 ls
132 cd .
133 cd /
134 ls
135 cd /var
136 ls
137 cd lib
138 ls
139 cd docker
140 ls
141 ls image
142 ls iamge/overlay2
143 ls plugins/
144 ls containers/
145 docker ps
146 docker ps -l
147 docker logs -t 8d374885288c
148 docker run -d -P --name sea -i sea/ubuntu:sea python app.py
149 docker ps
150 docker ps -l
151 docker top sea
152 docker search python
153 docker inspect sea
154 docker version
155 docker images
156 docker ll
157 docker --help
158 docker ps
159 docker reload sea
160 docker stop sea
161 docker ps
162 docker start sea
163 docker images
164 docker ps
165 docker --help
166 docker version
167 docker ps
168 docker version
169 docker search tutorial
170 docker search python
171 docker search selenium
172 docker search tutorial
173 docker pull learn/tutorial
174 docker run learn/tutorial echo "hello,world,sea"
175 docker ps
176 docker --help
177 docker ps
178 ls
179 cd sea
180 ls
181 cd ../
182 ls
183 cd /
184 ls
185 cd sea
186 ls
187 cd docker
188 ls
189 docker run learn/tutorial apt-get install -y ping
190 docker ps
191 ps -ef |grep docker
192 docker ps
193 docker ps -l
194 docker images
195 docker commit 2e4d sea/ping
196 docker images
197 docker run learn/turoial ping www.baidu.com -t
198 docker run learn/tutorial ping www.baidu.com -t
199 docker run sea/ping:latest ping www.baidu.com -t
200 docker run sea/ping:latest ping www.baidu.com
201 docker ps
202 docker ps -l
203 docker inspect fd1
204 docker --help
205 docker ps
206 docker ps -l
207 docker start fd1
208 docker ps
209 docker ps a
210 docker ps -a
211 docker ps
212 docker push sea/ping
213 docker push learn/ping
214 docker login
215 docker ps -l
216 cd /sea/docker
217 ls
218 docker ps
219 docker inspect fd1
220 docker images
221 ps ef|grep docker
222 export LANG="en_US.UTF-8";export LANGUAGE="en_US.UTF-8";top
223 cd /sea/docker
224 ls
225 docker images
226 top
227 sudo systemctl start docker
228 ps -ef |grep docker
229 docker images
230 docker ps
231 docker version
232 docker run -d -p 80:80 --name nginx_sea nginx:latest
233 docker images
234 docker ps -l
235 docker ps
236 docker ps -a
237 docker inspect 236
238 docker ps -l
239 docker ps
240 cd /etc/docker/
241 ls
242 cat key.json
243 ps -ef |grep docker
244 cd /usr/bin/docker
245 ls
246 cd /etc/systemd/
247 ls
248 cat user.conf
249 ls
250 cd system
251 ls
252 cd aliyun.service
253 cat aliyun.service
254 cat multi-user.target.wants/
255 cd /sea/docker
256 ls
257 journalctl -u -docker.service
258 journalctl -u docker.service
259 ls
260 cd /var/lib
261 ls
262 ls docker
263 cd docker-engine/
264 ls
265 cat distribution_based_engine-ce.json
266 cd ../docker
267 ls ../containerd/
268 ls
269 ls image/
270 ls image/overlay2/
271 ls image/overlay2/imagedb/
272 ls image/overlay2/imagedb/content/
273 ls containers/
274 docker ps
275 docker inspect 8a
276 docker inspect f
277 docker inspect 8
278 docker ps
279 docker inspect 2
280 docker inspect 23
281 l
282 ls containers/
283 ls
284 ls builder
285 ls buildkit
286 ls buildkit/content/
287 ls buildkit/content/ingest/
288 ls
289 ls buildkit/executor/
290 ls
291 ls image/
292 ls image/overlay2/
293 ls image/overlay2/distribution/
294 ls image/overlay2/distribution/repos
295 ls image/overlay2/repositories.json
296 ls network/
297 ls network/files/
298 cat network/files/local-kv.db
299 ls
300 ls network/files/ls
301 cd /var/docker
302 cat network/files/local-kv.db
303 export LANG="en_US.UTF-8";export LANGUAGE="en_US.UTF-8";top
304 ls
305 cd /sea/docker/
306 docker images
307 docker search ubuntu
308 docker images
309 docker run -it ubuntu bash
310 docker ps
311 docker ps -l
312 docker ps -a
313 docker ps -l
314 docker ps -a
315 docker image ls
316 docker images -f
317 docker images -f,--filter=[nginx]
318 docker images -filter=[nginx]
319 docker images -f=[nginx]
320 docker images -f, -- fileter=[nginx]
321 docker images -f true
322 docker images -f=true
323 docker image ls
324 docker tag nginx:latest nginx:sea
325 docker images
326 docker inspect nginx:sea
327 docker iamges
328 docker images
329 docker inspect sea/ping:lastest
330 docker inspect sea/ping:latest
331 docker history sea/ping:latest
332 docker history ubutu:latest
333 docker history ubuntu:latest
334 docker rmi ubuntu:sea
335 docker images
336 docker rmi nginx:sea
337 docker images
338 docker rmi ubuntu:latest
339 docker rmi a2a1
340 docker rm 7f35
341 docker ps -a
342 docker rmi ubuntu:latest
343 docker image prune
344 docker image prune -f
345 docker images
346 docker ps
347 docker start fd1
348 docker fd1
349 docker attach fd18
350 docker images
351 docker ps
352 docker ps -l
353 docker ps -a
354 docker ps
355 docker exec -it 38a1 /bin/bash
356 docker commit -m "add test file by sea 20190818" -a "sea.zeng" 38a1 testBySea:1.0
357 docker commit -m "add test file by sea 20190818" -a "sea.zeng" 38a1 testbysea:1.0
358 docker images
359 docker inspect testbysea:1.0
360 docker history testbysea:1.0
361 pwd
362 cd /sea/docker/
363 ls
364 docker ps
365 docker logs sea
366 docker logs -f sea
367 docker logs -t
368 docker logs -t sea
369 docker logs -t -details
370 docker logs -t -details sea
371 docker logs -details sea
372 docker logs -d sea
373 docker logs --help
374 docker logs -t --details sea
375 docker logs -t --details 236
376 docker logs -t --details 8a9
377 docker ps -qa
378 docker ps
379 docker pause 8a9
380 docker ps
381 docker unpause 8a9
382 docker ps
383 docker stop 8a9
384 docker ps
385 docker start 8a9
386 docker ps
387 docker restart 8a9
388 docker ps
389 docker exec -it sea /bin/bash
390 docker ps =a
391 docker ps -a
392 docker rm faa6
393 docker ps -a
394 docker export -o hello-world.tar
395 docker export -o hello-world.tar 0b48
396 ls
397 docker import hello-world.tar - hello-world:importTag
398 docker import hello-world.tar - hello-world:importtag
399 docker import hello-world.tar hello-world:importtag
400 docker ps -a
401 docker image ls
402 docker inspect 8a9
403 docker top 8a9
404 docker stat 8a9
405 docker stats 8a9
406 docker ps
407 docker exec -it 8a9 /bin/bash
408 touch cptempfile
409 ls
410 docker cp cptempfile 8a9:/sea
411 docker exec -it 8a9 /bin/bash
412 docker cp cptempfile 8a9:/sea
413 docker exec -it 8a9 /bin/bash
414 mkdir test
415 ls
416 docker cp 8a9:/sea/cptempfile /test
417 ls test
418 docker cp 8a9:/sea/cptempfile test/
419 ls
420 ls test
421 docker diff 8a9
422 docker port 8a9
423 docker login
424 cat /root/.docker/config.json
425 ls /var/lib/docker/volumes/
426 docker volume create -d local myvolume
427 ls /var/lib/docker/volumes/
428 ls /var/lib/docker/volumes/myvolume/
429 cat /var/lib/docker/volumes/myvolume/_data/
430 ls /var/lib/docker/volumes/myvolume/_data/
431 docker volume ls
432 docker volume inspect myvolume
433 docker volume --help
434 docker volume prune
435 docker volume ls
436 docker volume create -d lll abc
437 docker volume create -d local abc
438 docker volume ls
439 docker volume inspect abc
440 ls /var/lib/docker/volumes/abc/
441 ls /var/lib/docker/volumes/
442 docker volume rm abc
443 docker volume ls
444 ls /var/lib/docker/volumes/
445 docker port ls
446 docker port 8a9
447 cd /var/lib/docker
448 ls
449 ll
450 ls
451 ls builder
452 ls image/
453 ls image/overlay2/
454 ls plugins/
455 ls tmp
456 ls buildkit
457 ls network/
458 ls network/files/
459 ls network/files/local-kv.db
460 cat network/files/local-kv.db
461 xterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256color
462 ls
463 ls runtimes/
464 ls trust
465 ls containers/
466 ls
467 ls overlay2/
468 ls
469 ls swarm/
470 ls vo
471 ls volumes
472 docker images
473 docker search selenium
474 docker ps
475 docker exec -it 8a93 /bin/bash
476 docker build
477 docker build --help
478 top
479 docker images
480 docker images
481 docker volume ls
482 cd /sea/docker
483 ls /var/lib/docker
484 version
485 uname
486 uname -a
487 lsb_release -a
488 docker images
489 docker ps
490 docker image ls
491 docker inspect b885
492 docker ps
493 docker inspect 8a9
494 docker ps
495 docker exec 8a9 -it "bin/bash"
496 docker exec 8a9 -it "/bin/bash"
497 docker exec -it 8a9 "/bin/bash"
498 cd /var/bin
499 ls