semvec/pypi-packages huggingface dataset:
pyinfra-docker 2.1
Install & configure Docker with `pyinfra`.
License: MIT

# pyinfra Docker

A basic [pyinfra](https://pyinfra.com) deploy that installs and optionally configures Docker on the target hosts. Officially tested & supported Linux distributions:

+ Ubuntu 16/18/20
+ Debian 8/9/10
+ CentOS 7/8

This deploy installs packages in the `docker-ce` ecosystem (`docker-ce`/`docker-ce-cli`/`docker-ce-rootless-extras`) You can specify `docker_version` in the host data and it will install that version for all `docker-ce` packages.

## Usage

See [the example](https://github.com/Fizzadar/pyinfra-docker/tree/master/example) for a more complete example.

```py
from pyinfra_docker import deploy_docker
deploy_docker()
```