89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
9.7k stars 396 forks source link

[Feature] Add support for nerdctl #23

Open 89luca89 opened 2 years ago

89luca89 commented 2 years ago

We should work with both podman and nerdctl directly if both are available, better use podman

89luca89 commented 2 years ago

keeping it in suspend for now

- missing create command - missing --ipc - missing --type in nerdctl inspect

dawidd6 commented 1 year ago

--ipc flag is supported: https://github.com/containerd/nerdctl/blob/660680b7ddfde1d38a66ec1c7f08f8d89ab92c68/cmd/nerdctl/run.go#L147

--type flag is also supported: https://github.com/containerd/nerdctl/blob/660680b7ddfde1d38a66ec1c7f08f8d89ab92c68/cmd/nerdctl/inspect.go#L55

Waiting for --userns.

89luca89 commented 1 year ago

--ipc flag is supported: https://github.com/containerd/nerdctl/blob/660680b7ddfde1d38a66ec1c7f08f8d89ab92c68/cmd/nerdctl/run.go#L147

--type flag is also supported: https://github.com/containerd/nerdctl/blob/660680b7ddfde1d38a66ec1c7f08f8d89ab92c68/cmd/nerdctl/inspect.go#L55

Waiting for --userns.

Yea I know I've done it :joy:

But you're right, I need to update the comment above :+1:

profetik-777 commented 1 year ago

An older one - looks like almost done or done? Should we close it? @89luca89

89luca89 commented 1 year ago

Still not compatible It still needs support for --userns keep-id or something similar in order to have uid-user-inside == uid-user-outside

Haven't had time to work on this on the nerdctl side sadly