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
________ 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/
Xem thêm Bài Viết:
- Hướng dẫn sử dụng hệ điều hành linux siêu tốc – bài 25 Xem cấu hình hệ thống (cpu, ram, hdd)
- Linux cat command summary with examples
- Cài nhiều hệ điều hành Windows và Linux trên một máy tính
- Hướng dẫn tạo USB Boot DLC2019 (NTFS / UEFI) Trên windows 10 ( sử dụng USB 32 GB )
- Hướng dẫn gỡ bỏ Ubuntu sạch sẽ nhất bằng lệnh trên Windows theo chuẩn UEFI-GPT
amar pathak
April 15, 2020updated link for docker manuals to check the prerequisites of your host platform to run docker upon:
https://docs.docker.com/engine/install/
Deepak Sasi
April 15, 2020helpful ….thx
baskar19831
April 15, 2020Very neat and crisp input to learn Docker !!!
Shubham Bansal
April 15, 2020Sir 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…
mannan628
April 15, 2020Hi 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.
Pratik Patil
April 15, 2020Nice bro..
Nagarajan S
April 15, 2020Very useful video… thanks
Devpriyam Sharma
April 15, 2020Nice demo session. loved it. thanks a lot
ORagnar
April 15, 2020Those "yum" commands don't work on ubuntu.
Jagadish p Gowda Gowda
April 15, 2020Hi 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?
Abdul Awal
April 15, 2020Was 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.
rahul kumar
April 15, 20207:00 – 7:05
md.abul kalam musa
April 15, 2020Awesome tutorials on Docker intro specially for beginners!! hope to see more expanded tutorials on docker.
chandravir singh
April 15, 2020Thanks bro for these videos
sunil kumar
April 15, 2020Please make a video on end to end development and installation of docker with asp.net core microservices
Fuji Nafiul
April 15, 2020just wow
Devsecops Technology
April 15, 2020Docker for Linux not listed on Docker Manuals – https://docs.docker.com/manuals/
snigdha narain
April 15, 2020thanks a lot ,helped me to crack my interview
Ashwajit Thukral
April 15, 2020Hi 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?
Kishan Thakur
April 15, 2020Very helpful and useful information Bro…Thank you.
kalpana p
April 15, 2020hi 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
Krishna Shetty
April 15, 2020useful
Gautham Yuvan
April 15, 2020dont want to use putty in macbook?
Suyash Jain
April 15, 2020thanks , very useful for beginners..
Pugalenthi PUGAL
April 15, 2020Good Explanation about docker.
Thank you.
Can you please explain docker deamon issue while restarting containers in Linux.
Elder Evil
April 15, 2020First please learn to speak english, or just do tutorials in hindi
Vijayalakshmi G
April 15, 2020Excellent … Easy to learn and understand…
sesha giri gopireddi
April 15, 2020great
Rejwanul Reja
April 15, 2020Thanks for this nice tutorials about docker. Brilliant!
rapson bukhary
April 15, 2020Thanks 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
ahmad fauzi
April 15, 2020thanks 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?
rfrancoi
April 15, 2020Man, as usual, you video was EXCELLENT…
abhishek jadhav
April 15, 2020Can we create swarm cluster in VM
B4SH333R
April 15, 2020Nice explanation …easy to understand and pleasant to watch the traning videos..ALL THE BEST
Khyrul Islam
April 15, 2020good job
Aryansh Mahato
April 15, 2020Sir docker is not working in Ubuntu WSL!
Deepak Sharma
April 15, 2020@Raghav, what extension/theme you have on your chrome? looks interesting.. @ 8:06
Kishore tiwari
April 15, 2020Very nice explaination 👍
priyanchandrapala
April 15, 2020Great stuff, very useful!!
Swapnil Sandbhor
April 15, 2020Its 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
Himanshu Sinha
April 15, 2020dear 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