Docker Tutorial
Docker Compose
#DockerTutorial
Docker Container
Docker Tutorial For Beginners
#Devops
#Dockerbuild
Docker Install
Now we are moving to DOCKER...
How to install docker? How to create container ? Docker basic commands(images)
Let's see all these...
1.First will select ami in aws.Will install docker manually.
2.AWS EC2 machine setup done.
3.Now install docker
yum install docker -y
4.Docker successfully installed let's check it.
which docker
5.for docker version
docker --version
6.See docker info
docker info
Docker is not running.
7.Let's start the docker
service docker start
8.Docker is running but don't have any containers.
9.Create container
docker run -i -t ubuntu //bin/bash
10.Now we are in container.If you want to come out of the container
exit
11.To search all the images in our local machine
docker images
it shows the latest downloaded ubuntu image only.because we have pulled it
with docker run -i -t ubuntu //bin/bash.
12.To search image in online docker registry
docker search ubuntu
13.Download image from online docker registry to our local machine.
docker pull jenkins
It downloaded jenkins in our local machine.Let's check it.
docker images
14.With these images we can create containers.
15.To create container by giving container name
docker run --name mycontainer -it ubuntu //bin/bash
with ubuntu image we have created a mycontainer.
16.To start container
docker start mycontainer
sorry we are already in container so come out of it and run.
17.let's check the container is running or not.
docker ps
18.To go inside the container
docker attach mycontainer
now we are inside container.
19.To see all the containers running & stopped
docker ps -a
20.To stop container
docker stop mycontainer
21.To see all running container
docker ps
22.to delete container
docker rm mycontainer
That's it for this docker basic stuff.Let's subscribe if you like this video.
How to Create Dockerfile and Containers | How to Create and Share Volume | Docker Tutorial Part -2
#Docker Tutorial #Docker Run #Docker Install #Docker Container #Docker Build #Dockercompose
#Docker Tutorial For Beginners #DockerTutorial
Docker compoe
• Create Dockerfile and Containers and ...
Docker Installation | Create A Container - Docker Commands | Docker Tutorial for Beginners Part-1
#Docker Tutorial #Docker Run #Docker Install #Docker Container #Docker Build #Docker #Devops
Docker compose #DockerTutorial
#Docker Tutorial For Beginners
• Docker Compose | Docker Container - D...
Share it with your friends....Thanks to all.