- Bioinformatics with Python Cookbook
- Tiago Antao
- 177字
- 2021-06-10 19:01:41
How to do it...
Follow these steps to get started:
- Use the following command on your Docker shell:
docker build -t bio https://raw.githubusercontent.com/PacktPublishing/Bioinformatics-with-Python-Cookbook-Second-Edition/master/docker/Dockerfile
On Linux, you will either need to have root privileges or be added to the Docker Unix group.
- Now, you are ready to run the container, as follows:
docker run -ti -p 9875:9875 -v YOUR_DIRECTORY:/data bio
Replace YOUR_DIRECTORY with a directory on your operating system. This will be shared between your host operating system and the Docker container. YOUR_DIRECTORY will be seen in the container on /data and vice versa.
-p 9875:9875 will expose the container TCP port 9875 on the host computer port 9875.
Especially on Windows (and maybe on macOS), make sure that your directory is actually visible inside the Docker shell environment. If not, check the Docker documentation on how to expose directories.
- You are now ready to use the system. Point your browser to http://localhost:9875 and you should get the Jupyter environment.
If this does not work on Windows, check the Docker documentation (https://docs.docker.com/) on how to expose ports.
推薦閱讀
- Learning Java Functional Programming
- Facebook Application Development with Graph API Cookbook
- Architecting the Industrial Internet
- 編寫高質(zhì)量代碼:改善Python程序的91個(gè)建議
- C語言實(shí)驗(yàn)指導(dǎo)及習(xí)題解析
- 數(shù)據(jù)結(jié)構(gòu)案例教程(C/C++版)
- Visual Basic程序設(shè)計(jì)上機(jī)實(shí)驗(yàn)教程
- Web App Testing Using Knockout.JS
- 并行編程方法與優(yōu)化實(shí)踐
- 深入解析Java編譯器:源碼剖析與實(shí)例詳解
- Scratch從入門到精通
- Clojure High Performance Programming(Second Edition)
- Java程序設(shè)計(jì)實(shí)用教程(第2版)
- Java程序設(shè)計(jì)教程
- JavaScript全棧開發(fā)