Docker - aechchiki/SIB_LongReadsWorkshop_Zurich18 GitHub Wiki
Section: Technical Information [1/2].
In order to avoid OS-specific issues concerning computation or software installation, we prepared a Docker image (a container) including all the software you will need in this tutorial.
We set you up a list of login. Just select the ssh/apache links corresponding to your name, and you'll be ready to go!
Use:
- the ssh session (ending in :90xx/) for computation
- the apache session (ending in :80xx/)to browse/export data
Note: downloading this image will take about 3Gb space on your machine.
You need to download, install and access such Docker image, through simple steps:
-
install Docker
-
download the Docker image:
-
cd </user/local/dir/>
- for example:
cd /Users/aechchik/Downloads/lr_zh18/;
- for example:
docker pull wgharib/long-reads
-
-
follow the instructions:
-
in a terminal:
-
docker run -v </user/local/dir/>:/home/training -p 8000:80 -p 9000:443 -d wgharib/long-reads
- for example:
docker run -v /Users/aechchik/Downloads/lr_zh18/:/home/training -p 8000:80 -p 9000:443 -d wgharib/long-reads
- for example:
-
-
in a browser (this will be the place you will use for computation):
- connect to
localhost:9000
- click "Gate one"
- click "terminal ssh"
- hit twice
- type in user credentials:
- user:
training
- password:
training
- user:
- connect to
-
in a separate browser tab (this will be the place you will use to visually explore files):
- connect to
localhost:8000
- connect to
-
Note: you have sudo privileges on this machine!
Whenever you have time - not now ;) - check Walid's tutorial about how to make Reproducible research using Docker.