#Mounting additional directory to serverless

2 messages · Page 1 of 1 (latest)

cinder saddle
#

supposedly i have a network storage that has 2 directories inside. Is it possible to mount these 2 dir when starting the container image? or i should set them via env to point the path to the dir inside the mounted volume?

simply saying im trying to achieve this docker command below

docker run -v /workspace/dir_a:/app/somepath -v /workspace/dir_b:/app/somepath_too

because AFAIK runpod mount the volume with this kind of docker command only. CMIIW

docker run -v /workspace ...........

any explanation or help would mean a lot. Thankss

hidden matrixBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution