<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Docker运行科研工具]]></title><description><![CDATA[<p dir="auto">内容来自：Genomics in the Cloud_ Using Docker, GATK, and WDL in Terra</p>
<p dir="auto">//Docker安装 ubuntu18.04<br />
$ curl -sSL <a href="https://get.docker.com/" rel="nofollow ugc">https://get.docker.com/</a> | sh</p>
<h1>Executing docker install script, commit: f45d7c11389849ff46a6b4d94e0dd1ffebca</h1>
<p dir="auto">32c1 + sudo -E sh -c apt-get update -qq &gt;/dev/null<br />
...<br />
Client: Docker Engine - Community<br />
Version:           19.03.5<br />
...<br />
If you would like to use Docker as a non-root user, you should now consider<br />
adding your user to the "docker" group with something like:<br />
sudo usermod -aG docker genomics_book<br />
Remember that you will have to log out and back in for this to take effect!<br />
WARNING: Adding a user to the "docker" group will grant the ability to run<br />
containers which can be used to obtain root privileges on the<br />
docker host.<br />
Refer to <a href="https://docs.docker.com/engine/security/security/#docker-daemon-" rel="nofollow ugc">https://docs.docker.com/engine/security/security/#docker-daemon-</a><br />
attack-surface for more information.</p>
<p dir="auto">$ sudo usermod -aG docker $USER</p>
<p dir="auto">docker pull ubuntu<br />
Using default tag: latest<br />
latest: Pulling from library/ubuntu<br />
7413c47ba209: Pull complete<br />
0fe7e7cbb2e8: Pull complete<br />
1d425c982345: Pull complete<br />
344da5c95cec: Pull complete<br />
Digest: sha256:d91842ef309155b85a9e5c59566719308fab816b40d376809c39cf1cf4de3c6a<br />
Status: Downloaded newer image for ubuntu:latest<br />
<a href="http://docker.io/library/ubuntu:latest" rel="nofollow ugc">docker.io/library/ubuntu:latest</a></p>
<p dir="auto">$ docker run ubuntu<br />
-name=meaningful_name   最好加一个有意义的名字<br />
$ docker run ubuntu echo "Hello World!"<br />
Hello World!</p>
<p dir="auto">$ docker run -it ubuntu /bin/bash<br />
root@d84c079d0623:/#</p>
<p dir="auto">exit  退出<br />
Ctrl+P+Q   detach<br />
docker ps -a<br />
//重新连接<br />
docker attach c2b4f8a0c7a6</p>
<p dir="auto">//挂载本地目录<br />
$ docker run -v ~/book:/home/book -it ubuntu /bin/bash<br />
<img src="/assets/uploads/files/1612319387135-3918bda2-f655-4f10-96fc-44c11ab8bd5d-image.png" alt="3918bda2-f655-4f10-96fc-44c11ab8bd5d-image.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">///////////gatk<br />
$ docker pull <a href="http://us.gcr.io/broad-gatk/gatk:4.1.3.0" rel="nofollow ugc">us.gcr.io/broad-gatk/gatk:4.1.3.0</a><br />
4.1.3.0: Pulling from <a href="http://us.gcr.io/broad-gatk/gatk" rel="nofollow ugc">us.gcr.io/broad-gatk/gatk</a><br />
ae79f2514705: Pull complete<br />
5ad56d5fc149: Pull complete<br />
170e558760e8: Pull complete<br />
395460e233f5: Pull complete<br />
6f01dc62e444: Pull complete<br />
b48fdadebab0: Pull complete<br />
16fb14f5f7c9: Pull complete<br />
Digest: sha256:e37193b61536cf21a2e1bcbdb71eac3d50dcb4917f4d7362b09f8d07e7c2ae50<br />
Status: Downloaded newer image for <a href="http://us.gcr.io/broad-gatk/gatk:4.1.3.0" rel="nofollow ugc">us.gcr.io/broad-gatk/gatk:4.1.3.0</a><br />
<a href="http://us.gcr.io/broad-gatk/gatk:4.1.3.0" rel="nofollow ugc">us.gcr.io/broad-gatk/gatk:4.1.3.0</a></p>
<p dir="auto">$ docker run -v ~/book:/home/book -it <a href="http://us.gcr.io/broad-gatk/gatk:4.1.3.0" rel="nofollow ugc">us.gcr.io/broad-gatk/gatk:4.1.3.0</a> /bin/bash</p>
<p dir="auto">//通过IGV查看突变<br />
<img src="/assets/uploads/files/1612320509458-c6ffe212-5144-42b3-8f34-14f5ed0e5cc6-image.png" alt="c6ffe212-5144-42b3-8f34-14f5ed0e5cc6-image.png" class=" img-responsive img-markdown" /></p>
]]></description><link>http://an.forum.genostack.com/topic/199/docker运行科研工具</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 12:31:22 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/199.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Feb 2021 02:50:02 GMT</pubDate><ttl>60</ttl></channel></rss>