R
Runpod17mo ago
Carla

Problems building docker image using /workspace as root

Hello. I am trying to build my docker containers on runpod. I am using a Network Storage on the volume /workspace. I installed docker, and set the root as /workspace/docker/ because it will take a lot of space It was taking a long time, and we noticed the storage-driver was "vfs". So we tried to change it to "fuse-overlayfs" and seem to work, but when pulling Redis files (one of my containers is for Redis), it gave this error:
failed to register layer: using mount program fuse-overlayfs: fuse: device not found, try 'modprobe fuse' first
fuse-overlayfs: cannot mount: No such file or directory
failed to register layer: using mount program fuse-overlayfs: fuse: device not found, try 'modprobe fuse' first
fuse-overlayfs: cannot mount: No such file or directory
I tried running the modprobe and had this error:
modprobe: FATAL: Module fuse not found in directory /lib/modules/6.1.62
modprobe: FATAL: Module fuse not found in directory /lib/modules/6.1.62
I tried installing fuse and a bunch of packages, but nothing seems to work. Does someone know how to add the "fuse", or do we need to use a different storage driver for Docker in the /workspace?
14 Replies
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Carla
CarlaOP17mo ago
CPU pod yes
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
digigoblin
digigoblin17mo ago
You can't do it in a container, its a host level thing
Madiator2011 (Work)
im not sure what you are trying to do
Carla
CarlaOP17mo ago
Running an app using docker. I am using a CPU pod, with a Network Volume and assigning the Docker root to the volume, because this docker container takes more than 30Gb space
Madiator2011
Madiator201117mo ago
why just not make template ?
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
digigoblin
digigoblin17mo ago
Pretty sure Carla = she, not he
Madiator2011 (Work)
I see so she tries to build container and cause cpu pod limit is 20 GB she tries to store data on network storage for docker
digigoblin
digigoblin17mo ago
Guess this is why people started adding pronouns to their profiles 🤷‍♂️
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Carla
CarlaOP17mo ago
compose, there are 2 containers (one is for redis) It seems to be related to the network volume. I found an option to increase the container volume. Using docker on the container volume works fine. I don't know why it does not work for the network volume, but I will close this since I can get the app to work now. Thank you everyone! 😁
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?