Git Product home page Git Product logo

Comments (3)

RussTedrake avatar RussTedrake commented on August 16, 2024

done. I now call RUN /opt/drake/share/drake/setup/deepnote/install_nginx in the Dockerfile, but of course the service is not started each time the dockerfile is provisioned on Deepnote. The result is that the first call to StartMeshcat still says "installing nginx", but it at least returns very fast.

I tried adding RUN systemctl enable nginx to the dockerfile, but learned the docker does use sysctl / system.d. Adding CMD service nginx start didn't seem to get the job done, either.

cc @jwnimmer-tri, in case you have any better ideas. But I'm at least happy that it's faster.

from manipulation.

jwnimmer-tri avatar jwnimmer-tri commented on August 16, 2024

This all sounds fine.

FYI what we do for Drake tutorials is shown here:

https://drake.mit.edu/release_playbook.html#post-release-tutorials-updates

The only slow part is the apt, which we bake into the Docker image like so:

RUN apt-get -q update && apt-get -q install -y --no-install-recommends nginx-light xvfb && apt-get -q clean

We use an init.ipynb to do the install_xvfb. I realize now that it could probably do the install_nginx as well, which would maybe remove the printout from the actual notebooks for you?

from manipulation.

RussTedrake avatar RussTedrake commented on August 16, 2024

Thanks. I thought about init.ipynb for this. I'll go ahead with that.

from manipulation.

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.