{"library":"docker","type":"library","category":null,"description":"The Python Docker SDK (formerly docker-py) is a Python client for the Docker Engine API. It allows you to build, run, and manage Docker containers, images, networks, and volumes programmatically. The current version is 7.1.0, and the library is actively maintained with frequent patch and minor releases.","language":"python","status":"active","version":"7.1.0","tags":["docker","containerization","devops","client","automation"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install docker","imports":["import docker\nclient = docker.from_env()","from docker import DockerClient\nclient = DockerClient(base_url='unix://var/run/docker.sock')","from docker import APIClient\nclient = APIClient(base_url='unix://var/run/docker.sock')","from docker import errors\ntry:\n    # ...\nexcept errors.DockerException as e:\n    # handle exception"]},{"cmd":"pip install docker[websockets]","imports":[]}],"homepage":"https://docker-py.readthedocs.io","github":"https://github.com/docker/docker-py","docs":"https://docker-py.readthedocs.io","changelog":"https://docker-py.readthedocs.io/en/stable/change-log.html","pypi":"https://pypi.org/project/docker/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.2,"avg_import_s":0.81,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/docker/compatibility"}}