Skip to main content

Install & configure Docker with `pyinfra`.

None

Project description

pyinfra Docker

A basic pyinfra 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 for a more complete example.

from pyinfra_docker import deploy_docker
deploy_docker()

Project details

None

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyinfra-docker-2.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

pyinfra_docker-2.1-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page