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

Update containers available to users #392

Merged
merged 3 commits into from
Sep 15, 2022

Conversation

tukss
Copy link
Contributor

@tukss tukss commented Sep 15, 2022

This updates all containers to the new Ubuntu Jammy base. Before we merge this the corresponding base containers (rayleigh-buildenv-jammy, rayleigh-devel-jammy) should be pushed to the geodynamics namespace on Docker Hub.

This also exposes port 8888 so that Jupyter notebooks can be accessed from outside the container with a command like:

docker run -it --rm -p 8888:8888 geodynamics/rayleigh
jupyter notebook --ip=\*

@gassmoeller
Copy link
Member

I am in the process of building and uploading the images to docker hub. It will take a while, because the buildenv container alone is around 5GB (because of the inclusion of latex and python libraries).

@gassmoeller
Copy link
Member

Ok, images are pushed. Do you want to test it?

@tukss
Copy link
Contributor Author

tukss commented Sep 15, 2022

@gassmoeller, in the container you pushed to geodynamics/rayleigh-buildenv-jammy the file /lib/x86_64-linux-gnu/libz.so.1.2.11 has 0 bytes, which causes sudo to fail among other things. When I build the container it works fine and the file actually has contents. Maybe something went wrong during the build or push. Can you rebuild and push it?

@gassmoeller
Copy link
Member

Weird, my local images have the file with non-zero size, and I cannot even push the image again, because it says the online version is up-to-date. I downloaded the container on another machine and it also appears correctly there. Can you provide a list of steps how to reproduce the problem? I can try to reproduce it on my system.

@tukss
Copy link
Contributor Author

tukss commented Sep 15, 2022

This is fascinating. It must be related to the docker install on my laptop. When I delete and pull the image again there, the file is still empty. When I do the same thing on my desktop, which hasn't seen the image before, everything works fine and the files have the expected content. On both machines the image id is identical.

As this seems to be related to my Docker install only, I wouldn't worry about it. I'll test the images on my desktop and report back.

@tukss
Copy link
Contributor Author

tukss commented Sep 15, 2022

The docker-devel script still works as expected. As far as I understand, the updated geodynamics/rayleigh container will only be pushed once this is merged, so I can only test a locally built version.

@gassmoeller
Copy link
Member

Let's merge and find out. Since this container is not in large use at the moment anyway there is no harm in trying.

@gassmoeller gassmoeller merged commit d684d70 into geodynamics:master Sep 15, 2022
@tukss tukss deleted the rayleigh-container-jammy branch September 15, 2022 21:07
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

Successfully merging this pull request may close these issues.

2 participants