Docker

Check the Docker version

docker version

Run Hello World

docker run hello-world

Docker Details

docker ps -a
docker ps
docker images
docker info

Run Ubuntu

docker pull ubuntu

docker run -it ubuntu 

$apt-get update

exit 

docker container ls -all
 

Commit the Changes

Docker Swarms

Did not work port errir

Install Minicube on Mac

Kuberenets Commands

Q . Version difference between client and server version .

  • Get the Deployments (Only deployed)

  • Get pods both the deployed and un-deployed ones

  • Get the Details of the Pod in YAML format

  • All the Details of pods and deployments etc .

  • Get all the namespace in cluster

  • Get all the namespaces with Labels in the cluster

  • Create Namespace in cluster

Q . difference between context and namespace in context

Last updated

Was this helpful?