Lab 1 – Docker – 3 July 2023

What is Docker?
---------------------
	Cont mgmt tool
	Go
	by Docker - Soloman hykes
	Free
	Release
		comm
		ent

tool
	saving cost
		- If i consume less CPU+RAM+ST+LICENCE
	saving time
		- PS 1 day -> VS 5 mins -> Cont 1 sec/1000A
	imp quality software

mgmt
	create -> start -> stop -> res -> p -> unp -> kill -> rm

Container?
--------------------------

What r the res needed to run 1 APP?
-----------------------------------

Filesystem
--------------------
BOOT FILES --> ROOT FS --> USER FS -> APP FS
---------
  Kernal

How Docker Works?
--------------------------------
HUMAN --> Docker client -> DockerD -> ContainerD -> kernal
        ==============================
		docker engine

Components of Docker?
-------------------------
Step 1 - Install Docker
https://www.devopsschool.com/blog/docker-installation-and-configurations/

Step 2 - Have a Docker Image

VM image = BOOT FILES --> ROOT FS --> USER FS -> APP FS
Doc image =  ROOT FS --> USER FS -> APP FS

Step 3 - Registry
		repo
			docker image
	hub.docker.com
Step 4 - create a container


 535  which docker
  536  which dockerd
  537  which containerd
  538  ps -eaf | grep dockerd
  539  ps -eaf | grep containerd
  540  clear
  541  docker version
  542  clear
  543  docker -h
  544  cler
  545  clear
  546  docker ps
  547  docker ps -a
  548  docker images
  549  docker info

 553  docker pull httpd
  554  docker images
  555  clear
  556  docker ps -a
  557  docker create httpd
  558  docker ps -a
  559  docker start ecf6b571f198
  560  docker ps -a
  561  docker create --name raj1 httpd
  562  docker ps -a
  563  docker stop ecf6b571f198
  564  docker ps -a
  565  docker restart  ecf6b571f198
  566  docker ps -a
  567  docker pause  ecf6b571f198
  568  docker ps -a
  569  docker unpause  ecf6b571f198
  570  docker ps -a
  571  docker kill  ecf6b571f198
  572  docker ps -a
  573  docker rm raj1 silly_m
  574  docker ps -a
  575  docker rm silly_moser
  576  docker ps -a
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Preeti
Preeti
1 year ago

done

1
0
Would love your thoughts, please comment.x
()
x