Today we will learn :
How to install Docker on Linux
Agenda:
Prerequisites
Connect to Linux
Install Docker
Start Docker
Stop Docker
Uninstall Docker

Prerequisite
OS should be 64 bit
Linux kernel ver 3.10 or greater

command to check : uname -r

STEP 1 – Connect to Linux system

STEP 2 – Install DOCKER
sudo yum -y update
sudo yum install -y docker

docker
docker –version

STEP 3 – start DOCKER
sudo service docker start
sudo usermod -a -G docker “user”

docker info

docker run hello-world : to run hello-world image

docker images : to get list of images present locally

docker ps : to get list of running containers

docker ps -a . : to get list of all containers

STEP 4 – stop DOCKER
sudo service docker stop
uninstall DOCKER
sudo yum remove docker

HELPFUL TIPS
You can visit –
for more installation related help

To install docker from binaries

Installation steps for amazon ec2

References:

Linux free instance –

Docker Manuals –

#DockerOnLinux #DockerInstallation #HowToInstallDocker #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners

DOCKER PLAYLIST

YOUTUBE PLAYLIST

YOUTUBE

FACEBOOK

TWITTER

________ ONLINE COURSES TO LEARN ________

Visit –

———— UI TESTING ————
Selenium Beginners –
Selenium Java Framework from Scratch –
Selenium Python –
Selenium Tips –
Selenium Builder –
Katalon Studio –
Robot Framework –

———— API TESTING ————
Web Services (API) –
SoapUI –
Postman –
General –

———— MOBILE TESTING ————
Mobile Playlist –

———— CI | CD | DEVOPS ————
Jenkins Beginner –
Jenkins Tips & Trick –
Docker –

———— VERSION CONTROL SYSTEM ————
Git & GitHub –

———— PERFORMANCE TESTING ————
JMeter Beginner –
JMeter Intermediate –
JMeter Advanced –
JMeter Tips & Tricks –
Performance Testing –

———— JAVA ————
Java Beginners –
Java Tips & Tricks –

———— MAVEN ————
Maven –

———— OTHERS ————
Redis-
Misc –
Tools & Tips –
QnA Friday-
Sunday Special –

Ask Raghav-
Interviews –
All Playlists –

———— FOLLOW ————
Facebook –
Twitter –
Youtube –

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

41 Comments

amar pathak

April 15, 2020

updated link for docker manuals to check the prerequisites of your host platform to run docker upon:
https://docs.docker.com/engine/install/

Reply

Deepak Sasi

April 15, 2020

helpful ….thx

Reply

baskar19831

April 15, 2020

Very neat and crisp input to learn Docker !!!

Reply

Shubham Bansal

April 15, 2020

Sir you keep on going like this, your concepts plus explanations are just awsome… Please make tutorial for as much as DevOps tools as possible.. Humble request sir…

Reply

mannan628

April 15, 2020

Hi Raghav, at 3.10 Sudo yum -y update. Could you please tell where are binaries located. Do we copy them locally on linux tmp folder.

Reply

Pratik Patil

April 15, 2020

Nice bro..

Reply

Nagarajan S

April 15, 2020

Very useful video… thanks

Reply

Devpriyam Sharma

April 15, 2020

Nice demo session. loved it. thanks a lot

Reply

ORagnar

April 15, 2020

Those "yum" commands don't work on ubuntu.

Reply

Jagadish p Gowda Gowda

April 15, 2020

Hi bro thanks for the session
I didn't get the way you connected to EC2 machine, like what was the mechanism you used? EC2 instance connect?

Reply

Abdul Awal

April 15, 2020

Was trying to learn docker for long time. But didn't find it very interesting. The way you explained Docker, made me more excited to learn more about docker. Thank you for these tutorials.

Reply

rahul kumar

April 15, 2020

7:00 – 7:05

Reply

md.abul kalam musa

April 15, 2020

Awesome tutorials on Docker intro specially for beginners!! hope to see more expanded tutorials on docker.

Reply

chandravir singh

April 15, 2020

Thanks bro for these videos

Reply

sunil kumar

April 15, 2020

Please make a video on end to end development and installation of docker with asp.net core microservices

Reply

Fuji Nafiul

April 15, 2020

just wow

Reply

Devsecops Technology

April 15, 2020

Docker for Linux not listed on Docker Manuals – https://docs.docker.com/manuals/

Reply

snigdha narain

April 15, 2020

thanks a lot ,helped me to crack my interview

Reply

Ashwajit Thukral

April 15, 2020

Hi Raghav, 

I'm accessing ubuntu container through docker installed in Macbook and it comes as a root user and now I want to install docker on ubuntu. Facing the below error.

root@090f7d2c14f3:/# service docker start

 * Starting Docker: docker                                                                                                                                            [ OK ] 

root@090f7d2c14f3:/# usermod -a -G docker root

root@090f7d2c14f3:/# docker info

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Reply

Kishan Thakur

April 15, 2020

Very helpful and useful information Bro…Thank you.

Reply

kalpana p

April 15, 2020

hi i installed docker on ec2 linux instance but i could unable to start the docker .its showig this Redirecting to /bin/systemctl start docker.service
.please help out of this

Reply

Krishna Shetty

April 15, 2020

useful

Reply

Gautham Yuvan

April 15, 2020

dont want to use putty in macbook?

Reply

Suyash Jain

April 15, 2020

thanks , very useful for beginners..

Reply

Pugalenthi PUGAL

April 15, 2020

Good Explanation about docker.
Thank you.
Can you please explain docker deamon issue while restarting containers in Linux.

Reply

Elder Evil

April 15, 2020

First please learn to speak english, or just do tutorials in hindi

Reply

Vijayalakshmi G

April 15, 2020

Excellent … Easy to learn and understand…

Reply

sesha giri gopireddi

April 15, 2020

great

Reply

Rejwanul Reja

April 15, 2020

Thanks for this nice tutorials about docker. Brilliant!

Reply

rapson bukhary

April 15, 2020

Thanks for your amazing tutorials ! Could u show me how i can get a console like yours in AWS?
i could not find the code to connect with linux! Thanks

Reply

ahmad fauzi

April 15, 2020

thanks for really helpful video. but i got a problem. after I command sudo service docker start, and its results OK, when I command docker info, it gives me this message: "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/info: dial unix /var/run/docker.sock: connect: permission denied"

what happen?

Reply

rfrancoi

April 15, 2020

Man, as usual, you video was EXCELLENT…

Reply

abhishek jadhav

April 15, 2020

Can we create swarm cluster in VM

Reply

B4SH333R

April 15, 2020

Nice explanation …easy to understand and pleasant to watch the traning videos..ALL THE BEST

Reply

Khyrul Islam

April 15, 2020

good job

Reply

Aryansh Mahato

April 15, 2020

Sir docker is not working in Ubuntu WSL!

Reply

Deepak Sharma

April 15, 2020

@Raghav, what extension/theme you have on your chrome? looks interesting.. @ 8:06

Reply

Kishore tiwari

April 15, 2020

Very nice explaination 👍

Reply

priyanchandrapala

April 15, 2020

Great stuff, very useful!!

Reply

Swapnil Sandbhor

April 15, 2020

Its really good & useful to understand & learn docker in small parts of video. I hope you will create & release more videos on Docker & other Devops tool

Reply

Himanshu Sinha

April 15, 2020

dear raghav i am fresher in devops and aws could you please make a video like a practical scenario use of all the tools.. like a small live project. i wants to know what is the daily job role of a devops or aws solution architect

Reply

Leave a Reply