-
Notifications
You must be signed in to change notification settings - Fork 267
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
help to do a patch to use systemctl/journalctl in docker VM ? #2026
Comments
To answer your question about where to change the docker node creation (even though I don't think that's needed): GNS3 uses the Docker API to interact with Docker, not the command line. The nodes creation is done in gns3server/compute/docker/docker_vm.py function create(). The gns3-server/gns3server/compute/docker/docker_vm.py Lines 331 to 348 in 03f8ea9
|
Thank you @b-ehlers :-) Your Thank you also for the Docker API information |
Hi
On LiveRaizo, i look to temporary transform the QEmu VM Debian in Docker VM.
so it will be lighter to use LiveRaizo in Virtualbox, for example.
But, in class room, i use often systemctl/journalctl to configure and debug service.
And, by default, systemctl doesn't work in docker.
To do it, the most easy method that i found is :
I have see that you afraid from risk here
I want to do a litlle patch on gns3 for LiveRaizo, but i didn't find the file where you are doing a "docker run" (the
docker exec
is in "gns3server/compute/docker/docker_vm.py")Could you say the file or the function where i can add this : "--privileged=true" and "/sbin/init" ?
I hope that it is not more complicated.
The text was updated successfully, but these errors were encountered: