Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP podman & distrobox #7829

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

satmandu
Copy link
Member

@satmandu satmandu commented Jan 11, 2023

  • This is a work in progress podman and distrobox package. (distrobox requires a working podman.)
  • The primary remaining issue with this is figuring out cgroup settings and startup scripts.
  • All pre-reqs have been merged.

This is as far as I have gotten with podman:
Using runc:

chronos@localhost /usr/local/lib/crew/packages (master %|SPARSE>)$ sudo -s
# podman pull alpine:latest
✔ docker.io/library/alpine:latest
Trying to pull docker.io/library/alpine:latest...
Getting image source signatures
Copying blob 9d16cba9fb96 done  
Copying config 9617696764 done  
Writing manifest to image destination
Storing signatures
961769676411f082461f9ef46626dd7a2d1e2b2a38e6a44364bcbecf51e66dd4
# podman run -it alpine bash
Your kernel does not support pids limit capabilities or the cgroup is not mounted. PIDs limit discarded.
Error: runc: runc create failed: unable to start container process: unable to apply cgroup configuration: openat2 /sys/fs/cgroup/cpuset/libpod_parent/cpuset.cpus: no such file or directory: OCI runtime attempted to invoke a command that was not found
# 

Using crun:

sudo podman run -tid --net host busybox sh
Your kernel does not support pids limit capabilities or the cgroup is not mounted. PIDs limit discarded.
Error: OCI runtime error: crun: mount `proc` to `/proc`: Too many levels of symbolic links

Assistance would be appreciated!

Works properly:

  • x86_64
  • armv7l

Run the following to get this pull request's changes locally for testing.

CREW_REPO=https://github.com/satmandu/chromebrew.git CREW_BRANCH=podman_distrobox crew update

@s1gnate-sync
Copy link

Just for the record - I've commented about possible cause and potential fix containers/crun#1121 (comment)

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.

None yet

2 participants