flox-containers

Containerize Flox environments into portable Docker and Podman images.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/randoneering/nix-flake-mirror --skill flox-containers-randoneering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flox-containers
Source: https://github.com/randoneering/nix-flake-mirror/tree/main/home/programs/opencode/skills/flox/flox-containers
Command: npx skills add https://github.com/randoneering/nix-flake-mirror --skill flox-containers-randoneering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert Flox environments into portable container images so they can be built, stored, and run consistently on any host with Docker or Podman.

Core Features & Use Cases

  • Containerize Flox environments into Docker- or Podman-compatible images for consistent runtimes across teams.
  • Export multi-stage Flox workflows as reusable images and support tagging and runtime selection.
  • Deploy Flox-based services by running the produced images in CI/CD pipelines or on local hosts.

Quick Start

Run flox containerize to create a portable container image from a Flox environment and load it with Docker or Podman.

Frequently Asked Questions about flox-containers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I containerize a Flox environment into a portable Docker image?

You can containerize a Flox environment by running the flox containerize command to generate and load a portable image. This process exports your configured Flox environment into a Docker-compatible container image for consistent runtimes.

Does the Flox containerization process support Podman for building images?

Yes, Flox supports Podman for building container images. You can export your Flox environments into Podman-compatible images, enabling consistent runtimes across development, CI, and production workflows using either Podman or Docker.

Can I use Flox container images in CI/CD pipelines for reproducible deployments?

Yes, you can deploy Flox-based services by running the produced container images directly in CI/CD pipelines. This ensures reproducible runtimes and consistent deployments by exporting your multi-stage Flox workflows as reusable container images.

What is the best way to tag and configure Flox container images for production?

The best way to tag and configure Flox container images is by using manifest-based configuration. This method supports tagging and runtime selection, allowing you to tailor your container outputs to specific deployment needs across development, CI, and production workflows.

Why should I export multi-stage Flox environments as reusable container images?

Exporting multi-stage Flox environments as reusable container images ensures reproducible runtimes across any host with Docker or Podman. This maintains environment consistency across teams and simplifies deployment in CI/CD pipelines or local hosts.