Coder Social home page Coder Social logo

Comments (7)

zhangr1008 avatar zhangr1008 commented on May 13, 2024

It is not the modified entrypoint.sh issue maybe. If I stopped and started the same container, the processes inside would be left few. Any suggestion if I want to stop and start the container?

Thanks a lot.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

You should build your own new container after editing the entrypoint.sh and Dockerfile as this repo is meant as a starting point for creating your own container, else it might lead to issues that cannot be assisted. The docker stop command should work otherwise.

from docker-nvidia-egl-desktop.

zhangr1008 avatar zhangr1008 commented on May 13, 2024

The docker stop can't work:(. If I just pull and run the container first time, everything goes well. As I stopped the container and then started it, things changed. VNC server cannot start anymore.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

So yeah, I think that you should clone this repository with git, edit Dockerfile and entrypoint.sh, then do docker build . then try starting the container that got built that way.
And if something goes wrong, I could try to see what's wrong.
But anyways, the code right now is going to become legacy code very soon, so might be worth troubleshooting it after an update.

from docker-nvidia-egl-desktop.

zhangr1008 avatar zhangr1008 commented on May 13, 2024

Thanks a lot. I found the issue. The VNC server can't be started after the container restart. So I should delete the /tmp/.X* files before restart the container, or add the "rm -rf /tmp/.X*" in the entrypoint.sh file.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

Thanks, I'll make sure to include that in the next release.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

Fixed in commit d9eee15.

from docker-nvidia-egl-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.