Outdated! Please use https://github.com/bethgelab/docker instead.
Alex' Docker tools. Build order:
- bethgelab-users
- cuda-k40
- caffe-k40
- tools-k40
Enables the following features:
- Using LDAP user within a Docker container (more precisely: emulates it by using a local user with the same uid).
- Runs an X server.
- SSH daemon, i.e. allows
ssh -X
to run GUI within the Docker container.
Edit the Dockerfile and replace the following environment variables before building:
USER
-- your user accountUSER_ID
-- your user id. To find out your id:id -u USER
USER_ENCRYPTED_PASSWORD
-- your user password (encrypted). To generate it:perl -e 'print crypt('"PASSWORD"', "aa"),"\n"'
To start the container, make sure to mount /gpfs01/bethge
and expose the ports:
docker run -d -P -v /gpfs01/bethge:/gpfs01/bethge bethgelab-users
Do not override the CMD
in bethgelab-users. If you need to execute additional programs when starting the container, add them to /usr/local/bin/startup
as follows:
RUN echo "./mycmd" >> /usr/local/bin/startup