430 vi Dockerfile
431 docker logs bc59d1bb68dc
432 docker ps
433 docker kill bc59d1bb68dc
434 docker ps
435 docker
436 mkdir /dockerdemo
437 cd /dockerdemo/
438 vi Dockerfile
439 docker build -t myubuntuimage:1.0 .
440 docker images
441 docker container run -it myubuntuimage:1.0
442 vi Dockerfile
443 docker build -t myubuntuimage:2.0 .
444 docker container run -it myubuntuimage:2.0
445 docker ps
446 docker container commit --author "Kishor Aswar" -m "THis is my Customized image" c8d9f6e1db26 my_new_image
447 docker images
448 docker cp /tmp/index.html c8d9f6e1db26:/tmp
449 docker exec c8d9f6e1db26 ls /tmp
450 docker exec c8d9f6e1db26 ls -l /tmp
451 date
452 docker diff c8d9f6e1db26
453 docker cp /var/log/messages c8d9f6e1db26:/tmp
454 docker diff c8d9f6e1db26
455 docker events c8d9f6e1db26
456 docker events --help
457 docker events -since index c8d9f6e1db26
458 docker events --since index c8d9f6e1db26
459 docker events --since '2022' c8d9f6e1db26
460 docker events --since '2022'
461 docker ps
462 docker container export c8d9f6e1db26 >mycon.tar
463 ls -l
464 docker image import mycon.tar my_inported_image
465 docker images
466 docker run -d my_inported_image
467 docker container run -d my_inported_image
468 docker container run my_inported_image
469 dcoker container run nginx
470 docker container run nginx
471 docker container run -d my_inported_image /bin/bash
472 docker images
473 docker ps
474 docker ps -a
475 docker ps
476 docker history c8d9f6e1db26
477 docker container history c8d9f6e1db26
478 docker container history
479 docker history
480 docker history --help
481 docker images
482 docker history my_inported_image
483 docker history nginx
484 docker info
485 docker ps
486 docker inspect c8d9f6e1db26
487 docker ps
488 docker kill c8d9f6e1db26
489 docker stop 6463aa45b2d0
490 docker images
491 docker login
492 docker pull httpd
493 docker images
494 docker pull httpd:2.4.54
495 docker images
496 vi Dockerfile
497 docker build -t kishoraswar/myrepo:v1 .
498 docker images
499 docker push kishoraswar/myrepo:v1
500 docker login
501 docker ps
502 docker run -it ubuntu
503 docke rps
504 docker ps
505 docker container restart ed625cb0b5ba
506 docker ps
507 docker stop ed625cb0b5ba
508 docker container ls -a
509 docker ps -a
510 docker rm $(docker ps -a)
511 docker rm $(docker ps -a -f status=exited -q)
512 docker ps -a
513 docker ps
514 docker rm $(docker ps -a -f status=created -q)
515 docker images
516 docker rmi my_inported_image
517 docker images
518 docker rmi $(docker images -a -q)
519 docker images
520 docker rmi $(docker images -a -q)
521 docker rmi $(docker images -a -f -q)
522 docker prune images
523 docker images
524 docker rmi kishoraswar/myrepo
525 docker rmi kishoraswar/myrepo:v1
526 docker images
527 docker rmi $(docker images -a -q)
528 docker rmi myubuntuimage:2.0
529 docker images
530 docker rmi myos*
531 docker rmi myos:2.0
532 docker images
533 docker search nginx
534 docker container run -it ubuntu
535 docker ps
536 docker stats
537 docker images
538 docker tag
539 docker tag myos:3.0 new_image:1.0
540 docker images
541 docker ps
542 top
543 docker ps
544 docker top 2906c6761ae7
545 docker ps
546 docker pause 2906c6761ae7
547 docker ps
548 docker unpause 2906c6761ae7
549 docker ps
550 docker images
551 docker run -d nginx
552 docker ps
553 docker nginx
554 docker ps
555 rm Dockerfile
556 vi Dockerfile
557 ls -l
558 pwd
559 cd /opt
560 docker build -t myimage:1.0 .
561 docker build -t myimage:1.0 -f /dockerdemo/Dockerfile
562 docker build -t myimage:1.0 /dockerdemo/Dockerfile -
563 docker build -t myimage:1.0 /dockerdemo/Dockerfile .
564 docker build --help
565 docker build -t myimage:1.0 -f /dockerdemo/Dockerfile
566 cd /dockerdemo/
567 ls -l
568 docker build -t testimage .
569 docker images
570 mv Dockerfile myfile
571 docker build -t testimage1 -f myfile
572 docker build -t testimage1 -f myfile -
573 docker images
574 docker container run -d testimage
575 docker ps
576 docker ps -a
577 ls -l
578 mv myfile Dockerfile
579 vi Dockerfile
580 docker build -t test1 .
581 vi Dockerfile
582 history
No comments:
Post a Comment