I set up docker this morning on debian 12 using a few well-made tutorials I found on YouTube. I’ve tried to start a container for truenas and another for linuxserver wireguard. Neither has worked. When I start truenas, either through terminal or desktop, I only get the log:
listen unix /csi/csi.sock: bind: no such file or directory
and am uncertain of what to do with this. With wireguard I get:
The wireguard module is not active. If you believe that your kernel should have wireguard support already, make sure that it is activated via modprobe!
And then I access the container using “docker exec -it container_name bash” and try “modprobe wireguard” and modprobe says “can’t change directory to ‘/lib/modules’: No such file or directory”
I’m entirely uncertain of which direction to go from here on either container. I don’t understand why modprobe is trying to change directories, or what the truenas log I get means either. Help is appreciated. I’ve learned a lot today, but I think it’s time to ask for help.
What does your issue has to do with Docker Desktop (in the category)?
It is not. It is trying to “change directory TO”. cd = change directory. Containers are isolated environment. Normally you won’t find kernel files and modules inside a container as you don’t need those.
For more help, I think you will need to share how excatly you are trying to create the containers from which image. You probably need to load the required modules on the host. The container does not have its own kernel as none of the processes has its own kernel. Not even the isolated ones. If you use compose, share a compose file.
I’m sorry, I think this may be a huge misunderstanding on my part. I was referred to wireguard when I tried to use openVPN in a similar manner. I checked the docker hub profile for openvpn and it said it was obsolete and I should use wireguard instead. I was assuming it was another OS like Truenas, but I see now I can install wireguard on my debian 12 system without using a container. Still need truenas to work, but I can get away without the wire guard troubleshooting(as long as it’s actually a good idea to do that). Still up to figure it out for the sake of learning though.
I’m also not sure what it means to compose but I have google.