Re: podman jail_error: invalid argument

From: Mathias M. <mma_at_darktemple.ch>
Date: Thu, 16 Jan 2025 16:17:19 UTC
Hi Paige,

Works fine on my machine with:

---
$ freebsd-version -kru
14.2-RELEASE
14.2-RELEASE
14.2-RELEASE
$ uname -a
FreeBSD beast.darktemple.ch 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n=
269506-c8918d6c7412 GENERIC amd64

$ doas podman run --rm docker.io/dougrabson/hello
!... Hello Podman World ...!

         .--"--.
       / -     - \
      / (O)   (O) \
   ~~~| -=3D(,Y,)=3D- |
    .---. /`  \   |~~
 ~/  o  o \~~~~.----. ~~
  | =3D(X)=3D |~  / (O (O) \
   ~~~~~~~  ~| =3D(Y_)=3D-  |
  ~~~~    ~~~|   U      |~~

Project:   https://github.com/containers/podman
Website:   https://podman.io
Documents: https://docs.podman.io
Twitter:   @Podman_io
---

Sadly, sysutils/ocijail does not come with documentation regarding
debugging level or how it is even triggered by podman.

I'd update the system to the the latest RELEASE patch level, pkg upgrade everything and then try again.

Regards,
Mathias

On Tue, Dec 10, 2024 at 12:21:45PM -0800, paige@paige.bio wrote:
> Hey, 
> 
> This is kinda to test out if my list subscription is working correctly but also I’ve been wanting to try out podman on FreeBSD for awhile and I’ve been kinda stuck on this: 
> 
> ❯ sudo podman run --rm docker.io/dougrabson/hello
> Error: OCI runtime error: ocijail: error calling jail_attach: Invalid argument
> 
> Was wondering if theres a kernel option or something I’m missing ? 
> 
> FreeBSD stelleri.netcrave.network 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 STELLERI amd64
> 
> -Paige
> 
> 

-- 
They are called computers simply because computation is
the only significant job that has so far been given to them.