containers / containers/toolbox

Add ability to mount volumes

Open
#1,600 6 comments 0 reactions 0 assignees View on GitHub
1. Feature request
Dominant language
Go
Stars
3.5k
Forks
262
Avg merge
3d 1h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
I use toolbox in fedora silverblue. I want to install dotnet sdk into a toolbox and than expose it to host for using with IDE. I can call `dotnet` command using `toolbox run`, but I also need access on host to files of sdk that are installed into `/usr/lib64/sdk/dotnet`.

**Describe the solution you'd like**
This can be solved with volumes: I will create `/home/user/dotnet:/usr/lib64/sdk/dotnet` mount and use it in my IDE

**Describe alternatives you've considered**
I tried to mess with podman:
- add volume to an existing toolbox (not possible)
- create a new container from toolbox image (but to be usable toolbox must configure this container first, and I didn't figure out how to do this)
- commit existing toolbox container and run a new one from this image (throws errors on starting and fails)

**Additional context**
There was a PR #100 that can support this, but it was closed without implementation many years ago

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.