How to Install Docker and Create, Use, or Delete Docker Images

  Рет қаралды 136

Arashtad

Arashtad

Күн бұрын

In this video we will install docker on a Linux Debian 12 server, then we will create a simple app, build a docker image and run the app on the docker image and after all we remove the image and then uninstall docker from the server completely. The commands we will use for this task go following.
Update your package list:
sudo apt update
Install necessary packages:
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Add Docker’s official GPG key:
curl -fsSL download.docke... | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
Set up the stable repository:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] download.docke... $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list :: /dev/null
Note: KZbin doesn't allow brackets in the description. Replace :: in the command above with bracket. Watch the video for more info.
Update the package list again to include Docker's repository:
sudo apt update
Install Docker:
sudo apt install docker-ce docker-ce-cli containerd.io
Verify the installation:
sudo systemctl status docker
You should see Docker running. You can also verify by running:
sudo docker --version
(Optional) Allow your user to run Docker commands without sudo:
sudo usermod -aG docker $USER
Log out and log back in for the group membership to be re-evaluated.
All Open Source!
Arashtad provides high quality tutorials, eBooks, articles and documents, design and development services, over 400 free online tools, frameworks, CMS, WordPress plugins, Joomla extensions, and other products.
More Courses ▶ tuts.arashtad....
Business Inquiries ▶ arashtad.com/b...
Affiliate Programs ▶ arashtad.com/a...
eBooks ▶ press.arashtad...
Our Products ▶ market.arashta...
Our Services ▶ arashtad.com/s...
Our Portfolio ▶ demo.arashtad....
Free Online Tools ▶ tools.arashtad...
Our Blog ▶ blog.arashtad....
Documents ▶ doc.arashtad.com/
Licensing ▶ arashtad.com/l...
About us ▶ arashtad.com/a...
Join Arashtad Network ▶ i.arashtad.com/
Our Social Profiles ▶ arashtad.com/a...
Vimeo ▶ vimeo.com/aras...
Udemy ▶ www.udemy.com/...
GitHub ▶ github.com/ara...
Linkedin ▶ / arashtad
Twitter ▶ / arashtad

Пікірлер
How to Install Webmin and Virtualmin on Linux Servers
7:37
TailsOS Guide For The Ultra Paranoid
35:32
Mental Outlaw
Рет қаралды 436 М.
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 23 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,6 МЛН
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 11 МЛН
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 121 М.
Essential First Steps for Every New Linux Server Build
20:39
Learn Linux TV
Рет қаралды 176 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 450 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 644 М.
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 51 М.
How many kernel system calls do runtimes make?
19:18
Hussein Nasser
Рет қаралды 22 М.
Docker Crash Course #13 - Sharing Images on Docker Hub
7:11
Net Ninja
Рет қаралды 43 М.
How to Install LAMP on Linux Debian
10:41
Arashtad
Рет қаралды 573
Docker Desktop for Linux Desktop Setup and Tips
13:48
Bret Fisher Docker and DevOps
Рет қаралды 32 М.
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 23 МЛН