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

Last updated: December 29,2024

1. Install "docker" package

Here is a brief guide to show you how to install docker on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install docker

2. Uninstall "docker" package

This guide let you learn how to uninstall docker on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: docker
Architecture: all
Version: 1.5-2
Priority: optional
Section: universe/x11
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Tagliamonte
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9
Depends: wmdocker
Filename: pool/universe/d/docker/docker_1.5-2_all.deb
Size: 1316
MD5sum: e1b093bf733cbfce844b9b8d4c17ea73
SHA1: 3ec0d0b7ab22296e67d8641dbec234b21eeafe16
SHA256: ae2c562e9d2467862377c6355ac3b19f59c7ed9c0dfa505fd26f584b8b54af78
Description: transitional package
Description-md5: 5cdc3158ed8e5a469b1bf5e77deb35c1