Skip to main content

Install & configure Docker with `pyinfra`.

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file pyinfra-docker-2.1.tar.gz.

File metadata

  • Download URL: pyinfra-docker-2.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for pyinfra-docker-2.1.tar.gz
Algorithm Hash digest
SHA256 b6203a1fc55a2fcb76d468e907ac721a652b5773a25b62c99d0ea8f4f3d00a0a
MD5 e18e8628d725079540042acf3cd5d772
BLAKE2b-256 517f8c9bd564da3538b80e5714908a300f609b3fca9ee7a021d7a0413268b0ad

See more details on using hashes here.

File details

Details for the file pyinfra_docker-2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pyinfra_docker-2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for pyinfra_docker-2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 179f8a59923af84d6dc25ff49b41bc3443a21570a480b6397d2166eec11265fc
MD5 df2a274bafa6e875e5400d9681764db0
BLAKE2b-256 c58e24a5b5e59ec81631fbc43e13269bf4d545cf9cdde2e14d3ace4da6eba41c

See more details on using hashes here.

Supported by

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