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

Development docker (or other environment) for all of us to play with the code in petsc4py #4

Open
julesghub opened this issue May 24, 2019 · 8 comments
Assignees

Comments

@julesghub
Copy link
Member

No description provided.

@julesghub julesghub assigned rbeucher and brmather and unassigned rbeucher May 24, 2019
@julesghub
Copy link
Member Author

@rbeucher
Copy link
Contributor

I have just tried the image @brmather pushed to docker-hub. Jupyterhub returns an error...

@lmoresi
Copy link
Member

lmoresi commented May 25, 2019 via email

@brmather
Copy link
Member

brmather commented May 26, 2019 via email

@rbeucher
Copy link
Contributor

I tried the base image:

docker run underworldcode/base:petsc4py-3.11.2
tini returns an error.

[FATAL tini (6)] exec jupyterhub failed: No such file or directory

Are you sure you've pushed the correct image @brmather ?

@brmather
Copy link
Member

Hi @rbeucher - there's no jupyterhub installed in the image. But hold tight! I'm compiling one that does. In the meantime, you can log into the container on the command line to test your any scripts you have.

@julesghub
Copy link
Member Author

This is the cmd line I have been using to test the image
docker run --rm -it \ -e COLUMNS=$COLUMNS -e LINES=$LINES \ -v $HOME:/workspace \ -p 8891:8888 \ --privileged \ underworldcode/base:petsc4py-3.11.2 bash

@brmather
Copy link
Member

We have new Docker images!

All of these have petsc4py build on petsc version 3.11.2 with the usual suspects (jupyter notebook, lavavu, matplotlib, etc.)

  • underworldcode/petsc4py:3.11.2-slim 1.4GB - smallest image I could manage
  • underworldcode/petsc4py:3.11.2-jupyterhub 1.6GB - 3.11.2-slim base with jupyterhub (note: there is no configuration file for jupyterhub)
  • underworldcode/petsc4py:3.11.2-debug 1.8GB - debugging version of petsc with valgrind, sphinx, and plotly

The Dockerfiles can be found in the underworld2 development branch. Right now the default user is jovyan - next up is to implement the fancy volume mount that @julesghub showed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants