Skip to content

pyinfra-dev/pyinfra-docker

Repository files navigation

pyinfra Docker

A basic pyinfra deploy that installs and optionally configures Docker on the target hosts. Officially tested & supported Linux distributions:

  • Ubuntu 24.04
  • Debian 12
  • Alma Linux 9
  • Fedora 41

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

About

Install and configure Docker using pyinfra.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages