How to Install and Uninstall docker.io Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 06,2024

1. Install "docker.io" package

Please follow the instructions below to install docker.io on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install docker.io

2. Uninstall "docker.io" package

This tutorial shows how to uninstall docker.io on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove docker.io $ sudo apt autoclean && sudo apt autoremove

3. Information about the docker.io package on Ubuntu 20.04 LTS (Focal Fossa)

Package: docker.io
Architecture: amd64
Version: 24.0.5-0ubuntu1~20.04.1
Built-Using: glibc (= 2.31-0ubuntu9.12), golang-1.20 (= 1.20.3-1ubuntu0.1~20.04)
Priority: optional
Section: universe/admin
Source: docker.io-app
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 110248
Depends: adduser, containerd (>= 1.2.6-0ubuntu1~), iptables, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.8), libdevmapper1.02.1 (>= 2:1.02.97), libsystemd0 (>= 209~)
Recommends: ca-certificates, git, pigz, ubuntu-fan, xz-utils, apparmor
Suggests: aufs-tools, btrfs-progs, cgroupfs-mount | cgroup-lite, debootstrap, docker-doc, rinse, zfs-fuse | zfsutils
Filename: pool/universe/d/docker.io-app/docker.io_24.0.5-0ubuntu1~20.04.1_amd64.deb
Size: 26445232
MD5sum: 17f0e19865e777edf48b962bf4a70ed9
SHA1: d770bfa1ab32bd0e957968a9f3d7f90e204339de
SHA256: 89a565fca1278eaaa8bf9fce010c92e08637928f84d8dc44b15008bec3f089cb
SHA512: 7b4270d222e5d250453e56da5b81ea23de7d4ad578d0740876dc014a2d835ef590f61780f39cbf06e156da6368f716de35a016b7bd37eadb38435a20a9a839f9
Homepage: https://mobyproject.org/
Description: Linux container runtime
Description-md5: e493e693fe77bf3c8bec9a4fc91c75cc

Package: docker.io
Architecture: amd64
Version: 20.10.21-0ubuntu1~20.04.2
Built-Using: glibc (= 2.31-0ubuntu9.7), golang-1.18 (= 1.18.1-1ubuntu1~20.04.2)
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Tagliamonte
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 136567
Depends: adduser, containerd (>= 1.2.6-0ubuntu1~), iptables, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.8), libdevmapper1.02.1 (>= 2:1.02.97), libsystemd0 (>= 209~)
Recommends: ca-certificates, git, pigz, ubuntu-fan, xz-utils, apparmor
Suggests: aufs-tools, btrfs-progs, cgroupfs-mount | cgroup-lite, debootstrap, docker-doc, rinse, zfs-fuse | zfsutils
Breaks: docker (<< 1.5~)
Replaces: docker (<< 1.5~)
Filename: pool/universe/d/docker.io/docker.io_20.10.21-0ubuntu1~20.04.2_amd64.deb
Size: 30307328
MD5sum: 76de9d359e498de2bb60fc8bcbeeeeb5
SHA1: 7ffb8a2f647a0440bcf09ca275ac10277894713f
SHA256: 8a790a2bd899c8c8749197e9afb4008fc676946d4f6f5d9059329c1a36b939ae
SHA512: b058ec306e42503a57a4da3ae821d14ce6a46467badbb242675d6c24c9520afa4a618ace951a9c7124d15c072177d292c28442fcd6f437e33b9c4d168c72410d
Homepage: https://www.docker.com/community-edition
Description: Linux container runtime
Description-md5: 05dc9eba68f3bf418e6a0cf29d555878

Package: docker.io
Architecture: amd64
Version: 19.03.8-0ubuntu1
Built-Using: glibc (= 2.31-0ubuntu4)
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Tagliamonte
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 187096
Depends: adduser, containerd (>= 1.2.6-0ubuntu1~), iptables, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.8), libdevmapper1.02.1 (>= 2:1.02.97), libseccomp2 (>= 2.1.0), libsystemd0 (>= 209~)
Recommends: ca-certificates, cgroupfs-mount | cgroup-lite, git, pigz, ubuntu-fan, xz-utils, apparmor
Suggests: aufs-tools, btrfs-progs, debootstrap, docker-doc, rinse, zfs-fuse | zfsutils
Breaks: docker (<< 1.5~)
Replaces: docker (<< 1.5~)
Filename: pool/universe/d/docker.io/docker.io_19.03.8-0ubuntu1_amd64.deb
Size: 38890728
MD5sum: 6189152ff94de947512ceac4fc57f4d0
SHA1: 1c4ec656f40d322d4c61f9c94563fbe32f20e7d0
SHA256: 05392160916a5611fe36b1c1c393d8fc9bfd696ef64704ca7e25be0db33f9f67
Homepage: https://www.docker.com/community-edition
Description: Linux container runtime
Description-md5: 05dc9eba68f3bf418e6a0cf29d555878