Skip to content

Install and configure Docker using pyinfra.

License

Notifications You must be signed in to change notification settings

frzb/pyinfra-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 20/22/24
  • Debian 11/12
  • Almalinux 9

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%