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

Spinning up containers with a dockerized server #2444

Closed
miromeir opened this issue Nov 10, 2024 · 1 comment
Closed

Spinning up containers with a dockerized server #2444

miromeir opened this issue Nov 10, 2024 · 1 comment

Comments

@miromeir
Copy link

Hello,
I'm using the Dockerfile provided in this project to create a container of gns3-server.
I also need docker containers in my gns3 project.
It's possible if you share "/var/run/docker.sock" with the host, allowing gns3 to control the host docker daemon.
It works, but when trying to start a container i'm getting the following error:

gns3server.compute.docker.docker_error.DockerError: Docker has returned an error: 500 b'Mounts denied: \nThe path /root/.local/share/GNS3/docker is not shared from the host and is not known to Docker.\nYou can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.\nSee https://docs.docker.com/ for more info.\n'

I'm not sure what to map. My docker host is non-root so that folder doesn't exist.
Even when i map the user's relevant folder to "/root/.local/share....." i'm still getting this error.

Where to proceed from here?

@grossmj
Copy link
Member

grossmj commented Nov 26, 2024

Why do you want to run the GNS3 server as a Docker container?

@grossmj grossmj closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants