Skip to main content

Build Docker images using SaltStack

Project description

Build Docker images using SaltStack

This is a Python library and set of tools that lets you build Docker images using masterless SaltStack instead of (or in addition to) using Dockerfiles.

FlyingCloud is easy to run from the commandline, and built to be run on a Continuous Integration server.

Why would I want to do that?

  • Because you are installing a complex stack of software and have outgrown Docker’s simple installation system.

  • Because you want to configure your Docker layers instead of writing shell scripts.

  • Because you want to install the same software stack on developer workstations and don’t want to maintain two separate ways of installing a complex stack of software.

How it works

FlyingCloud runs Salt in masterless mode, applying Salt states for each Docker layer. Layers can also run custom Python code if necessary.

Salt states can do many system administration tasks solely with configuration. Here’s a list of all the built-in Salt states. And you can write your own.

Installation

$ pip install flyingcloud

Example

The Flask Web App Example shows how to create several reusable Docker images, built on each other, along with a small web application and an example of running tests inside the Docker container.

Documentation

Contributing

We welcome contributions. This project is in an early stage and under heavy development. To contribute, join the Google Group or file a pull request.

License

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

flyingcloud-0.3.31.tar.gz (21.1 kB view details)

Uploaded Source

File details

Details for the file flyingcloud-0.3.31.tar.gz.

File metadata

  • Download URL: flyingcloud-0.3.31.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flyingcloud-0.3.31.tar.gz
Algorithm Hash digest
SHA256 2a8cf2f72ed0c4acfd318b092d4d6498bf9115a1dea37b79d932eba3711f2027
MD5 206e6b027f03285a6f7f69a739b9962e
BLAKE2b-256 4a70afbc34aeec39594e084250d4392cac12649ea1ebfd7249d3fab306751aa6

See more details on using hashes here.

Supported by

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