Skip to content

Conversation

ray1729
Copy link

@ray1729 ray1729 commented Jul 28, 2025

This change adds --volume and --env options to the container create command to allow additional podman volumes to be mounted, and environment variables to be specified, when a container is created.

My main use-case for this is to allow a shared /gnu/store volume to be mounted into toolbox containers so I can manage packages using guix with just one copy of the store on the system. For more information on this, please see my blog post. I could imagine other uses for this, if someone wants to mount a volume outside their home directory into the toolbox container.

ray1729 added 2 commits July 14, 2025 11:12
Add --volume (-V) and --env (-E) options to the create command to allow
extra volumes and environment variables to be specified at container
create time.
@ray1729 ray1729 requested a review from debarshiray as a code owner July 28, 2025 08:21
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant