 Hi students, in this video we will see how to install docker in Ubuntu 18. So I will open the browser and just type in install docker ubuntu 18 and it gives me this docks.docker link and I will click on this link. So it shows various installation methods. I will follow the first method which is setting up the repository and then installing it. So I will open a terminal and run this command one by one. Let's first run sudo apt-get update. This will update any existing packages. Alright, now let's run this second command and now I will run this command to add docker's official GPG key. GPG is GNU privacy guard because I have already added the key it is asking me whether I want to override the file. So I will just type y and press enter. Then I will run this command to set up the stable repository and then let's run this update command once again. So finally let's run this apt-get install docker command to install the docker. It will use around 400 MB of disk space so I will type in y and press enter. Let's wait for the installation to finish. Alright. So now that the installation is finished let's check the docker version using docker-v command. So it shows that the docker was in 20.10 and now let's see how can we start a container using the docker. So to start a container first of all we need to pull some image using which we can start a container. So we can pull any docker image using docker pull command. So for instance let's pull the busybox image I will use to docker pull busybox to pull the busybox image and by default it will pull the latest image. So once the pull is complete we can see what all images are there using docker image ls command. So you can see that there is just one image and now let's see how can we start a container using this image. So we can use the docker run command to run a container and I will use the hyphenit option to start an interactive shell and I will now give it the image name. So we have an interactive shell running using this busybox image let's see what all files are there. So it has all the folders which are there in the root folder of a linux system. Let's open one more terminal and start another container again using the same image. So now we have two containers running and what if I create a new folder here would this folder be visible in this container as well and the answer is no because both these containers have isolated file systems. We can exit this container using the exit command. So that's it for this video thanks and have a nice day.