Prerequisites
Install Python
Buildr requires Python 3.x (tested on 3.6+). Verify your Python installation:You should see Python 3.6 or higher. If not, download Python from python.org.
Install Docker
Buildr uses Docker to build and run containers. Install Docker for your platform:Verify Docker is running:
macOS
Download Docker Desktop for Mac
Windows
Download Docker Desktop for Windows
Linux
Follow the Docker Engine installation guide
Install Buildr
Install via pip
Install the metaparticle_pkg package from PyPI:This installs Buildr and its dependencies, including:
docker==2.7.0- Docker SDK for Python
Install from source
For development or to use the latest features, you can install Buildr from source:Install dependencies
docker==2.7.0- Docker SDKflake8- Code lintingpytest- Testing frameworkpytest-cov- Code coverage
Development setup
If you’re contributing to Buildr or developing with the source code:Container registry setup
To publish container images, you need access to a container registry:Docker Hub
Create a Docker Hub account
Sign up at hub.docker.com if you don’t have an account.
Other registries
Buildr works with any Docker-compatible registry:Troubleshooting
Docker daemon not running
If you see “Cannot connect to the Docker daemon”, ensure Docker is running:Permission denied
On Linux, if you see permission errors:Import errors
If imports fail, ensure the package is installed in your active Python environment:Next steps
With Buildr installed, you’re ready to build your first containerized application:Quickstart
Follow the quickstart guide to create your first containerized app