Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
labkey
postgresql
tomcat
Dockerfile
README.md

README.md

samples/docker/labkey-standalone

With the recent release of kubernetes from Google and news of Docker support in Elastic Beanstalk, I figured it was finally time to give containers (and Docker ) a try.

This folder contains the Dockerfile, additional scripts and instructions for building a Docker image which you can use to give LabKey Server a try. An image built with this Dockerfile is available at bconn/labkey-standalone on DockerHub.

IMPORTANT: This image was meant for trying out LabKey Server and not meant for running a production server or for storing important biomedical data.

Is there an image already built?

An image built with this Dockerfile is available at bconn/labkey-standalone on DockerHub. This image contains:

  • LabKey Server 14.1
  • Tomcat 7
  • Oracle Java 7
  • PostgreSQL 9.3

Usage

Create the image

To create the image you will need do the following:

  1. Download the latest version of Oracle JAVA 7 ServerJRE to ./labkey/src directory

  2. Download the latest version of Tomcat 7 binary distribution to ./tomcat

    • Use the Core tar.gz download
  3. Download the latest version of LabKey Server to ./labkey/src directory

    • Use the Binaries for Manual Linux/Mac/Unix Installation link
  4. Update the Dockerfile and change the names in the file to match the ones you downloaded above.

  5. Build the image

     sudo docker build -t bconn/labkey-standalone .
    

Running LabKey Server Standalone in a container

To run the image

sudo docker run --name labkey-standalone -d -p 8080:8080 bconn/labkey-standalone

After few seconds, open http://:8080 to see the LabKey Server initialization page.