Initial commit of toolbox. Fixes T10389.
Details
- Reviewers
- None
- Group Reviewers
Triage Team - Maniphest Tasks
- T10389: Toolbx
Created, entered a Fedora container and installed a bunch of packages.
Diff Detail
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 4385 Build 4385: arc lint + arc unit
Event Timeline
I think the host file system is not exposed because podman itself is not working properly: no /etc/subuid and /etc/subguid force us to use sudo. @chax is there anything you can do? Can we use these file in a stateless location?
I think you need to manually create the /etc/subuid and /etc/subgid files. Try $USER:100000:65536
For rationale:
$ cat /etc/login.defs | grep SUB_UID SUB_UID_MIN 100000 SUB_UID_MAX 600100000 SUB_UID_COUNT 65536 $ cat /etc/login.defs | grep SUB_GID SUB_GID_MIN 100000 SUB_GID_MAX 600100000 SUB_GID_COUNT 65536
Yeah it's required for lxc/lxd as well. I'm hoping that the new kernel feature around id mapping for mounted filesystems will ultimately lead to this no longer being necessary.
Yes I know that, still on Fedora podman and toolbox work out of the box. I'd be handy to have them ready to use on Solus too.
@chax look here if it's useful: https://src.fedoraproject.org/rpms/podman/blob/rawhide/f/podman.spec#_105
Anyway, planning changes as I didn't notice we have go-md2man in the repo.