On Fri, 2023-09-22 at 09:26 -0400, Neal Becker wrote:
> Just trying out distrobox on F38.  I have 2 issues.  One is it won't
> run a
> container without root.  The other is I don't think it's actually
> working
> at all.
> 
>  distrobox enter ubuntu-20
> Container ubuntu-20 is not running.
> Starting container ubuntu-20
> run this command to follow along:
> 
>  podman logs -f ubuntu-20
> 
> Error: OCI runtime error: unable to start container
> "46a0c000c02583c2d4c4fb1e329de7a0f1daddc1d4bc812e7d0e409a2a353a8b":
> crun:
> error `creating` systemd unit
> `libpod-
> 46a0c000c02583c2d4c4fb1e329de7a0f1daddc1d4bc812e7d0e409a2a353a8b.scop
> e`:
> got `failed`
> 

Works for me without root (and I've never used distrobox until now)

> Now try with --root
> [nbecker@ubuntu-20 ~]$ apt-get
> bash: apt-get: command not found
> 
> OK, is this really a container running ubuntu?  Doesn't seem to be,
> there's
> no apt-get.

Yep, no apt-get in the default config, but I think you need to add an
additional_packages line in the manifest. That's what the man page
seems to suggest.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to