Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to solve the Permission Denied Error for AI-Lab Docker Edition with Windows Docker Desktop #274

Open
tkilias opened this issue May 15, 2024 · 0 comments
Labels
documentation User guides, tutorials, specifications

Comments

@tkilias
Copy link
Collaborator

tkilias commented May 15, 2024

Under Windows with Docker Desktop (WSL2 doesn't seem to be necessary), docker socket has no write access for the group. For that reason, the entry point fails with a Permission Denied Error when the docker socket is mounted. You can use the following commands to give the group write access. We should add this to the documentation, but also make clear that this should discussed with the responsible administrator of the system.

Start your Docker Desktop and open the command prompt. Run the following command in the command prompt:

docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock ubuntu chmod g+w /var/run/docker.sock

to check if the command was successful, run:

docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock ubuntu ls -l /var/run/docker.sock

the output must be: srwxrwxr-x 1 root root 0 May 14 07:07 /var/run/docker.sock

Now you run:

docker run --name ai-lab --volume my-vol:/home/jupyter/notebooks --volume /var/run/docker.sock:/var/run/docker.sock --publish 0.0.0.0:49494:49494 exasol/ai-lab:2.0.0

@tkilias tkilias added the documentation User guides, tutorials, specifications label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation User guides, tutorials, specifications
Projects
None yet
Development

No branches or pull requests

1 participant