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

Last updated: November 22,2024

1. Install "python3-docker" package

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

$ sudo apt update $ sudo apt install python3-docker

2. Uninstall "python3-docker" package

Please follow the instructions below to uninstall python3-docker on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: python3-docker
Architecture: all
Version: 4.1.0-1
Priority: optional
Section: universe/python
Source: python-docker
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Docker Compose Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 502
Depends: python3-requests (>= 2.11.1~), python3-six (>= 1.4.0), python3-websocket (>= 0.32.0~), python3:any
Filename: pool/universe/p/python-docker/python3-docker_4.1.0-1_all.deb
Size: 83812
MD5sum: c4d9c47984b826f7c4a013e38e3c68f6
SHA1: ba9ec2967b2ce4378462fbfcb41e8d11c9024f66
SHA256: 1d5ff3cf98a4334b090ce3a1c4832ba27bd23e71c50e787469ac90c5671e9e1f
Homepage: https://github.com/docker/docker-py
Description: Python 3 wrapper to access docker.io's control socket
Description-md5: f35f9a5a7263514cf0e810ca4e05fc20