<div dir="ltr"><div>Dear Brad,<br><br></div><div>Thanks for the input, and glad you agree. Yes, I&#39;ve been following your work on bcbio-nextgen. It looks great!<br><br>Will keep working away at a minimal Bio-Linux container, and give updates on my progress here.<br><br>Cheers,<br><br>Steve<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 December 2014 at 14:32, Brad Chapman <span dir="ltr">&lt;<a href="mailto:chapmanb@50mail.com" target="_blank">chapmanb@50mail.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Steve and Tony;<br>
I agree with this approach. This is essentially what we are doing with<br>
CloudBioLinux inside bcbio: providing a big ol&#39; container with a lot of<br>
useful tools related to next-gen sequencing:<br>
<br>
<a href="https://github.com/chapmanb/bcbio-nextgen/blob/master/Dockerfile" target="_blank">https://github.com/chapmanb/bcbio-nextgen/blob/master/Dockerfile</a><br>
<br>
This uses both Bio-Linux and other installers like Homebrew cobbled<br>
together with CloudBioLinux.<br>
<br>
There is definitely an issue of size as you add more tools but if you<br>
want to run them together it&#39;s easier to manage and distribute a single<br>
instance rather than trying to chain multiple images. So somewhere in<br>
between a single tool and all the tools in the world is the right place<br>
to be. It would be cool to see what you can come up with for a Bio-Linux<br>
distribution,<br>
Brad<br>
<div><div class="h5"><br>
&gt; Dear Tony,<br>
&gt;<br>
&gt; I&#39;m not wanting to create a full Bio-Linux installation in a container. As<br>
&gt; you say, that would be contrary to the purpose of containers. I&#39;m more<br>
&gt; interested in creating a cut-down Bio-Linux-eqsue Docker image that has all<br>
&gt; the relevant command line tools installed for undertaking bioinformatics<br>
&gt; analyses, and access to the Bio-Linux 8 repos for installing additional<br>
&gt; tools as necessary.<br>
&gt;<br>
&gt; Another way of doing this would be to simply use the ubuntu base image, add<br>
&gt; the Bio-Linux 8 repos, pin any GUI packages in apt with -1 priority, and<br>
&gt; install all command line packages as part of the Dockerfile configuration.<br>
&gt; Just trying to think of the easiest way to approach it.<br>
&gt;<br>
&gt; I&#39;ve followed Brad&#39;s work closely, so be interested to hear his take on<br>
&gt; this too.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Steve<br>
&gt;<br>
&gt; On 16 December 2014 at 12:00, &lt;<a href="mailto:bio-linux-request@nebclists.nerc.ac.uk">bio-linux-request@nebclists.nerc.ac.uk</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Message: 1<br>
&gt;&gt; Date: Mon, 15 Dec 2014 12:24:01 +0000<br>
&gt;&gt; From: Tony Travis &lt;<a href="mailto:tony.travis@abdn.ac.uk">tony.travis@abdn.ac.uk</a>&gt;<br>
&gt;&gt; To: &lt;<a href="mailto:bio-linux@nebclists.nerc.ac.uk">bio-linux@nebclists.nerc.ac.uk</a>&gt;<br>
&gt;&gt; Cc: Brad Chapman &lt;<a href="mailto:chapmanb@50mail.com">chapmanb@50mail.com</a>&gt;<br>
&gt;&gt; Subject: Re: [Bio-Linux] BioLinux8 Dockerfile<br>
&gt;&gt; Message-ID: &lt;<a href="mailto:548ED2E1.4050301@abdn.ac.uk">548ED2E1.4050301@abdn.ac.uk</a>&gt;<br>
&gt;&gt; Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
&gt;&gt;<br>
&gt;&gt; On 14/12/14 14:40, Booth, Timothy G. wrote:<br>
&gt;&gt; &gt; [...]<br>
&gt;&gt; &gt; To answer your question, I&#39;d suggest the following approach - take a<br>
&gt;&gt; &gt; fresh Bio-Linux VM (ie. the .ova download) then remove the Gnome and<br>
&gt;&gt; &gt; X libs packages.  Lots of packages that depend on them will be<br>
&gt;&gt; &gt; removed.  Then you can diff the master package list from the upgrade<br>
&gt;&gt; &gt; script and the packages you have left on the system to get your<br>
&gt;&gt; &gt; blacklist.  I&#39;m sure there are other approaches but this is the one<br>
&gt;&gt; &gt; that springs to mind.<br>
&gt;&gt;<br>
&gt;&gt; Hi, Tim and Steve.<br>
&gt;&gt;<br>
&gt;&gt; I think you&#39;re missing the point about Docker if you&#39;re trying to create<br>
&gt;&gt; a Bio-Linux container. Docker is a lightweight container that relies on<br>
&gt;&gt; the host OS to provide kernel services and system daemons.<br>
&gt;&gt;<br>
&gt;&gt; Bio-Linux is more appropriate as a host OS for Docker. I don&#39;t really<br>
&gt;&gt; see the point of trying to run a full Bio-linux in a Docker container<br>
&gt;&gt; because the overhead will be such that you might as well be using a VM.<br>
&gt;&gt;<br>
&gt;&gt; Docker is most useful for providing an OS independent environment for<br>
&gt;&gt; applications like e.g. GATK that have specific version dependencies that<br>
&gt;&gt; are quite difficult to reconcile with versions of programs that are<br>
&gt;&gt; installed on a particular host. Docker provides portability of an<br>
&gt;&gt; application between host and OS&#39;s by encapsulating these dependencies.<br>
&gt;&gt;<br>
&gt;&gt; Having said that, I&#39;m currently trying to use Bio-Linux in a user-level<br>
&gt;&gt; &quot;fakechroot&quot; under &#39;Scientific&#39; Linux (CentOS 6.3) on our HPC cluster<br>
&gt;&gt; because our out-sourced IT support company think Docker is too serious a<br>
&gt;&gt; security threat to be used on a &#39;production&#39; server. I&#39;ve pointed out<br>
&gt;&gt; that both AWS and Rackspace are offering Docker instances on their own<br>
&gt;&gt; cloud services &#39;securely&#39;. I&#39;m experimenting with Docker on my own PC.<br>
&gt;&gt;<br>
&gt;&gt; [I&#39;ve CC&#39;ed this to Brad to get his take on using Docker for Bio-Linux]<br>
&gt;&gt;<br>
&gt;&gt; Bye,<br>
&gt;&gt;<br>
&gt;&gt;   Tony.<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Steve Moss<br>
&gt; <a href="http://about.me/gawbul" target="_blank">about.me/gawbul</a><br>
&gt; [image: Steve Moss on <a href="http://about.me" target="_blank">about.me</a>]<br>
</div></div>&gt;   &lt;<a href="http://about.me/gawbul" target="_blank">http://about.me/gawbul</a>&gt;<br>
</blockquote></div><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><a href="http://about.me/gawbul" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;line-height:18px" target="_blank"><font face="tahoma, sans-serif"></font><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline;border-spacing:0px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;vertical-align:baseline;height:30px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:top;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">Steve Moss</div><div style="margin:3px 0px 0px;padding:0px;border:0px;outline:0px;font-style:inherit;font-size:12px;vertical-align:baseline">about.me/gawbul</div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:8px 0px 0px;border:0px;outline:0px;font-style:inherit;vertical-align:top;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline;text-align:right;background-color:rgb(197,208,224);height:4px"><img src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png" alt="Steve Moss on about.me" width="88" height="4" style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline;float:right;display:block"></div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;vertical-align:baseline;height:20px"> </td></tr></tbody></table></a></div></div>
</div>