docker run -p 8888:8888 -v /Users/sam/data/:/data -v /Users/sam/owl_home/:/owl_home -v /Users/sam/owl_web/:/owl_web -v /Users/sam/gitrepos:/gitrepos -it f99537d7e06a
The command allows access to Jupyter Notebook over port 8888 and makes my Jupyter Notebook GitHub repo and my data files on Owl/home and Owl/web accessible to the Docker container.
Once the container was started, started Jupyter Notebook with the following command inside the Docker container:
jupyter notebook
This is configured in the Docker container to launch a Jupyter Notebook without a browser on port 8888.
The Docker container is running on an image created from this Dockerfile (Git commit 443bc42)
%%bash
date
%%bash
hostname
%%bash
lscpu
wget
¶-m
flag to recursively download all files and mirror the directory structure of the target. Additionally, it uses the -P
flag to specify the output location of the downloaded files.¶%%bash
time wget -m ftp://F15FTSUSAT0327:OSTibkD@cdts-hk.genomics.cn/Ostrea_lurida/ \
- P /owl_web/O_lurida_genome_assemblies_BGI/20161201/
%%bash
ls /owl_web/O_lurida_genome_assemblies_BGI/20161201/
%%bash
ls -l cdts-hk.genomics.cn/
-P
argument didn't work for wget
, so just changing to desired directory and running wget
command again...¶%%bash
cd /owl_web/O_lurida_genome_assemblies_BGI/20161201/
%%bash
pwd
cd /owl_web/O_lurida_genome_assemblies_BGI/20161201/
%%bash
time wget -m ftp://F15FTSUSAT0327:OSTibkD@cdts-hk.genomics.cn/Ostrea_lurida/
Note: The following program (tree
) was installed via Homebrew package manager
%%bash
tree /owl_web/O_lurida_genome_assemblies_BGI/20161201/
wget
¶cd /owl_web/P_generosa_genome_assemblies_BGI/20161201/
%%bash
time wget -m ftp://F15FTSUSAT0327:OSTibkD@cdts-hk.genomics.cn/Panopea_generosa
%%bash
tree /owl_web/P_generosa_genome_assemblies_BGI/20161201/