Quick start on “Creating a new docker container”

As a bioinfomatician, one might get into the situation that requires you to run that software in certain environment again and again, unfortunately, on various computers.

The good news is there’s this thing called “Docker”, a container technology that might allow you to do so easier. If you are a fan of “Singularity”, you already know what I’m talking about here.

Without further ado, here’s what you will need:

  1. You’ll need to install Docker on your computer. Also, get a docker hub account. You’ll need this to deposit your docker image.
  2. Get the source code or the pre-compiled software that you want to run
  3. Create a new working directory to store your Dockerfile (see below)
  4. The most important step, which will determine how complicate your life will be authoring a Dockerfile​ is how you choose your base image.
    • Assuming you are trying to run java application, your best bet for the base image would be this image family java:openjdk-8-jre

Consider the following example (stolen from Broad’s Institute tutorial for FireCloud https://software.broadinstitute.org/firecloud/documentation/article?id=9453)

Continue reading “Quick start on “Creating a new docker container””


The making of Wunderlist

A quick look wondering around the “About” Section of my favorite to-do list software revealed quite an interesting information about that many license type included in “probably” the making of Wunderlist.

Below are some info from the heading of the license section. I guess this is what make open-source wonderful. The contributors get their credits. Their name continue to live on. Money is not the most important thing in life, although getting pay and also get the credits are always nice.

Copyright (c) 2014 Gone East LLC. All rights reserved
License: MIT (see below)

Copyright 2014 Zwopple Limited. All rights reserved.
License: Apache License (see below)

Copyright (c) 2012 Mattt Thompson
License: MIT (see below)

Copyright (c) 2012, Pixelglow Software. All rights reserved.
License: BSD (see below)

Copyright (c) 2011-2013, Tony Million. All rights reserved.
License: BSD (see below)

Copyright (c) 2014, Couchbase, Inc. All rights reserved.
License: Apache (see below)

Copyright (c) 2014, Erik Doernenburg. All rights reserved.
License: Apache (see below)

Lato Free Font
Copyright (c) 2015, Łukasz Dziedzic. All rights reserved.
License: SIL Open Font Licence (see below)

Code from Stackoverflow

window.getSelection return html from Tim Down (link)