Skip to main content

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

Metadata

Release files for pyinfra-docker 2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyinfra-docker 2.1
File Size Uploaded
pyinfra-docker-2.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyinfra-docker 2.1
File Interpreter ABI Platform
pyinfra_docker-2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.0 kB

Release files / pyinfra-docker-2.1.tar.gz

Download URL pyinfra-docker-2.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b6203a1fc55a2fcb76d468e907ac721a652b5773a25b62c99d0ea8f4f3d00a0a
BLAKE2b-256 checksum
How to use checksums
517f8c9bd564da3538b80e5714908a300f609b3fca9ee7a021d7a0413268b0ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / pyinfra_docker-2.1-py2.py3-none-any.whl

Download URL pyinfra_docker-2.1-py2.py3-none-any.whl
Size 4.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
179f8a59923af84d6dc25ff49b41bc3443a21570a480b6397d2166eec11265fc
BLAKE2b-256 checksum
How to use checksums
c58e24a5b5e59ec81631fbc43e13269bf4d545cf9cdde2e14d3ace4da6eba41c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release history Release notifications | RSS feed

This release

2.1 This release

2 release files

2.0

2 release files

1.0

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page