Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Good Day All,
I am looking to use Docker as containerized environment and for the same i wanted to use Docker bind-mount. I am not sure how to expose the workstation’s local file system to Docker from DSS.
Docker allows such functionality using bind-mount https://docs.docker.com/storage/bind-mounts/
So what i am looking for is something like this :
docker run -d -it --name test-container --mount type=bind,source=/tmp,target=/usr nginx:latest
How can we pass these parameters (--mount type=bind,source=/tmp,target=/usr) from Dataiku Containerized Execution page ?
In case you need to have the same storage available for local and containerized execution, you may want to check on managed folders:
You can mount a volume to DSS, create a managed folder based on it and access it from the containers via Python or R APIs.
Good Day @sergeyd ,
Thanks for the information. But for me the scenario is a bit different.
So i have a server A where DSS is running and then there is server B where docker is running.
Now DSS (on server A) uses the docker execution environment on server B. And there is very large file say 3 TB which docker need as input for further execution. Now if i use managed filesystem then i have to place this file on server A and then transfer the file to server B , which is not feasible.
Now in the above scenario , is there a way i can use the 3 TB file on Server B so that Docker can take it as input and proceed.