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

wrap cworld into a docker image/container/whatever #8

Open
sergpolly opened this issue Dec 12, 2018 · 4 comments
Open

wrap cworld into a docker image/container/whatever #8

sergpolly opened this issue Dec 12, 2018 · 4 comments
Assignees

Comments

@sergpolly
Copy link
Member

We need this real bad, since some people are still using cworld for some things, but maintenance and installation becomes problematic ...
@betulakgol I really want to do it this week - i know you were interested - let's coordinate the time sometime this week

@betulakgol
Copy link

@sergpolly we can do it late afternoon tomorrow (after 3:30) or Friday afternoon.

@sergpolly
Copy link
Member Author

@betulakgol let's do today after 3:30

@sergpolly
Copy link
Member Author

trying it on the cluster

  • singularity pull docker://user/imagename (if fails use interactive)
  • singularity shell imagename.simg (shell in and browse around, mount /nl etc)

editing existing image, back on the PC:

  • docker run -dit IMGID (-dit is a trick to prevent "static" container from exiting immidiately)
  • docker ps -a (to check if it is running indeed)
  • docker exec -it CONTID bash (execute bash in a running container based on IMGID)
  • do stuff inside of the container, e.g. apt-get install something or mkdir /nl , exit when done
  • docker commit CONTID user/imagename (maybe with a -m message part - to know what changed)
  • docker push user/imagename

Now the Dockerhub image should be updated ...

TODO:

@sergpolly
Copy link
Member Author

@sergpolly sergpolly changed the title wrap cworld into a docker container wrap cworld into a docker image/container/whatever Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants