Hi, is there a guide/resource on how to

Hi, is there a guide/resource on how to make devpod/devcontainers work on silverblue/ublue/bazzite?
17 Replies
Poikanen
Poikanen6mo ago
I have installed the AppImage for DevPod, I have podman and podman-compose on my system and I have configured a docker provider with: docker host = /run/user/1000/podman/podman.sock and docker path = /usr/bin/podman Can't get any of the example workspaces to work.
M2
M26mo ago
podman has SELinux enabled by default and works a little different from docker. In the .devcontainer.json you will need to add the --userns=keep-id and --security-opt label=disable (if using a directory in HOME) If you are using the a user other than root you also will need to specify the HOME directory for the user. See the bluefin .devcontainer which has an example that works with podman. https://github.com/ublue-os/bluefin/blob/main/.devcontainer/devcontainer.json
Poikanen
Poikanen6mo ago
Hmm. I tried that devcontainer file from bluefin and it fails in devpod in the exact same manner. [23:12:31] info Error: creating container storage: creating an ID-mapped copy of layer "b09d5ecb11b82813ebd151d3e3f7410fbcfa81a7b7bda05eaf29bfdc18ac7d0a": storage-chown-by-maps: /tmp/.mount_gearlegXxe21/usr/lib/libselinux.so.1: no version information available (required by /lib64/libsubid.so.4) [23:12:31] info storage-chown-by-maps: /tmp/.mount_gearlegXxe21/usr/lib/libselinux.so.1: no version information available (required by /lib64/libsemanage.so.2) [23:12:31] info exit status 125 This is the only thing labeled error in the logs. I don't know how relevan it is.
M2
M26mo ago
I've been able to confirm that issue occurs with Devpod and the app image.
Poikanen
Poikanen6mo ago
Good to hear it is not just me. I haven't been able to debug this. Do you think this could be addressed by ourselves or should I file a bug report to devpod?
M2
M26mo ago
I think this is Devpod + podman related right now. I have Devpod on my laptop but I use that with docker. I'll see if I can swap over to podman and the issue persists. on my laptop I was able to get it to work with the web version of vscode. I removed setting the docker host. I only have podman configured as the docker binary path. When attempting to connect with layered vscode I get an error with SSH saying the name is too long or something to that effect. Basically the name is somehow to long. However, this can be opened when using browser based vscode
M2
M26mo ago
No description
M2
M26mo ago
I changed the container to ubuntu. This devpod is layered and I'm on bluefin and not bazzite Pretty sure I saw your issue on github and added that I saw it as well along with the note that it is also broken with a native pacakge
Poikanen
Poikanen6mo ago
Yeah, I just added the issue there. Thanks I tried doing the setup you described, no luck - web vscode - only podman binary path - ubuntu as base
M2
M26mo ago
same selinux indicated issue?
Poikanen
Poikanen6mo ago
I currently have selinux on permissive
M2
M26mo ago
That must be something with the appimage
Poikanen
Poikanen6mo ago
What version is your layered package?
Poikanen
Poikanen6mo ago
Thanks I'll try layering it tomorrow. I'm no really familiar with copr, but I'll check it out.
Want results from more Discord servers?
Add your server