Tuesday, February 28, 2023

Docker Commands:

 [root@ip-172-31-34-29 ~]# history

    1  yum update -y

    2  yum install docker

    3  docker --version

    4  systemctl status docker

    5  systemctl start docker

    6  systemctl status docker

    7  ps -aef|Grep docker

    8  ps -ef|grep docker

    9  docker --version

   10  docker pull nginx

   11  docker pull ubuntu

   12  docker images

   13  docker pull httpd

   14  docker run  -d -p 80:80 nginx

   15  docker ps

   16  touch index.html

   17  echo "kishor">index.html

   18  cat index.html

   19  docker cp index.html 6ea34f03afd1:/var/www/html/

   20  docker cp index.html 6ea34f03afd1:/usr/share/nginx/html/

   21  docker ps

   22  history

No comments:

Post a Comment

Sample Game App Deployment on EKS cluster

 https://padmakshi.medium.com/setting-up-an-eks-cluster-and-deploying-a-game-application-a-step-by-step-guide-08790e0be117