DEV Community

nabbisen
nabbisen

Posted on

1

Docker installation on Debian 10 Buster

Summary

Docker provides a virtualization platform which uses container infrastructure, lighter than hypervisor one.
Docker runs on not only Linux but also Windows and macOS today.

This post shows how to install Docker on Debian 10 Buster.

Reference

A digression

First of all, remember not to do:

$ sudo apt install docker
Enter fullscreen mode Exit fullscreen mode

It is unrelated to Docker platforms.
It enables you to use wmdocker which is "System tray for KDE3/GNOME2 docklet applications".

Tutorial

Install requirements.

$ sudo apt update
$ sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common 
Enter fullscreen mode Exit fullscreen mode

Get the official GPG key.

$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
Enter fullscreen mode Exit fullscreen mode

In order to add the repository, create file:

$ sudo nvim /etc/apt/sources.list.d/docker-ce.list
Enter fullscreen mode Exit fullscreen mode

and write in it:

deb [arch=amd64] https://download.docker.com/linux/debian buster stable
Enter fullscreen mode Exit fullscreen mode

Update apt package index and install Docker.

$ sudo apt update
$ sudo apt install docker-ce
Enter fullscreen mode Exit fullscreen mode

Thas's it :)

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (1)

Collapse
 
thomasbnt profile image
Thomas Bnt β€’ β€’ Edited

⚠️ This repository is deprecated and will be archived (Docker CE itself is NOT deprecated) see the master/README.md ⚠️

Hello, docker-ce is deprecated :c

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay