You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm probably missing something obvious here, but I've containerized the application but despite binding the discord socket into it and assuring the permissions are correct, it seems to not connect. I have tested to make sure that it works without docker. For now, I've created a systemd unit file to run it in the background but I'd like to put it into the podman pod I have all of my other rpc plugins in.
The end goal is to run in a pod with a containerized discord using the linuxserver.io image, mounting the discord socket between each container.
My dockerfile:
notes: Ideally I'd like to use the scratch image as the base and only include the binary, but that doesn't work out very well with rust projects. After I get the debian image working, I plan to look into rebuilding with musl and using alpine.
notes: I've tried running without the user, and with read only on the socket. I've also tried bind mounting the entire /run/user/1000 directory to both the /tmp and /run/user/1000 directories inside the container to no avail.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
EDIT: markdown :/
I'm probably missing something obvious here, but I've containerized the application but despite binding the discord socket into it and assuring the permissions are correct, it seems to not connect. I have tested to make sure that it works without docker. For now, I've created a systemd unit file to run it in the background but I'd like to put it into the podman pod I have all of my other rpc plugins in.
The end goal is to run in a pod with a containerized discord using the linuxserver.io image, mounting the discord socket between each container.
My dockerfile:
notes: Ideally I'd like to use the scratch image as the base and only include the binary, but that doesn't work out very well with rust projects. After I get the debian image working, I plan to look into rebuilding with musl and using alpine.
My compose file:
notes: I've tried running without the user, and with read only on the socket. I've also tried bind mounting the entire /run/user/1000 directory to both the /tmp and /run/user/1000 directories inside the container to no avail.
Beta Was this translation helpful? Give feedback.
All reactions