yocto-gl icon indicating copy to clipboard operation
yocto-gl copied to clipboard

mlflow.projects.run not working inside docker container (backend=kubernetes)

Open mabdullah1994 opened this issue 3 years ago • 1 comments

Hi. I have a python script that does the following:

mlflow.projects.run(...)

This script is executed in a container. When this script is executed, I get an error because the docker daemon is not accessible inside the container. Is there a workaround to this problem? Thanks.

mabdullah1994 avatar May 24 '21 12:05 mabdullah1994

Hello @mabdullah1994 , Recently my team and I were facing similar issue.. We declared the /var/run/docker.sock as shared volume to our docker container.. This will allow the container to communicate with docker.sock on host and then the docker daemon was started enabling us to use docker commands.

If the issue have been resolved by some other solution, please share it.

that-rahul-guy avatar Jul 02 '22 05:07 that-rahul-guy