How to Install and Uninstall python-docker Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 19,2024

1. Install "python-docker" package

In this section, we are going to explain the necessary steps to install python-docker on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-docker

2. Uninstall "python-docker" package

Please follow the step by step instructions below to uninstall python-docker on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-docker package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-docker
Architecture: all
Version: 2.5.1-1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Felipe Sateler
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 415
Depends: python-dockerpycreds, python-requests, python-six (>= 1.4.0), python-websocket, python:any (<< 2.8), python:any (>= 2.7.5-5~), python-backports.ssl-match-hostname (>= 3.5), python-ipaddress (>= 1.0.16)
Breaks: docker-compose (<< 1.10), python-magnum (<< 5.0.0), python-senlin (<< 2.0.0)
Filename: pool/universe/p/python-docker/python-docker_2.5.1-1_all.deb
Size: 69012
MD5sum: fc374607bff84e2a56c6ec497c6b276b
SHA1: 6e7a74512e5f351ec6c24ec14c2598c68569126c
SHA256: e9a0fb160b569acb88d536eb2cac2dbbf2e40d7990b1319856692da836087aa2
Homepage: https://github.com/docker/docker-py
Description: Python wrapper to access docker.io's control socket
Description-md5: 5c8245db88251ab614bd8cfc3a2bfb8b