Skip to main content
QUICK REVIEW

[Paper Review] Use of Docker for deployment and testing of astronomy software

D. Morris, S. Voutsinas|Edinburgh Research Explorer|Jul 11, 2017
Distributed and Parallel Computing SystemsComputer Science1 references4 citations
TL;DR

This paper evaluates Docker as a containerization solution for deploying and testing astronomy software, demonstrating its benefits in reproducibility, portability, and simplified dependency management through two projects: a LaTeX document system and a Virtual Observatory data access service. The key contribution is showing Docker’s effectiveness in creating consistent, isolated environments that enhance collaboration and streamline scientific software deployment in astronomy.

ABSTRACT

We describe preliminary investigations of using Docker for the deployment and testing of astronomy software. Docker is a relatively new containerisation technology that is developing rapidly and being adopted across a range of domains. It is based upon virtualization at operating system level, which presents many advantages in comparison to the more traditional hardware virtualization that underpins most cloud computing infrastructure today. A particular strength of Docker is its simple format for describing and managing software containers, which has benefits for software developers, system administrators and end users. We report on our experiences from two projects -- a simple activity to demonstrate how Docker works, and a more elaborate set of services that demonstrates more of its capabilities and what they can achieve within an astronomical context -- and include an account of how we solved problems through interaction with Docker's very active open source development community, which is currently the key to the most effective use of this rapidly-changing technology.

Motivation & Objective

  • To assess Docker’s viability for deploying and testing astronomy software in complex, multi-component systems.
  • To address challenges in software portability and environment consistency across different computing environments in astronomical data centers.
  • To evaluate Docker’s role in enabling reproducible science and streamlined collaboration among developers and system administrators.
  • To document practical experiences and solutions from real-world deployments in astronomy projects.
  • To highlight the importance of community-driven development in advancing container technologies for scientific computing.

Proposed method

  • Using Docker containers to encapsulate software components, including web services and application stacks, for consistent deployment across diverse environments.
  • Leveraging official and custom Docker images, particularly based on standard OS distributions and application-specific images like Tomcat.
  • Implementing container orchestration through Docker Compose to link multiple services such as databases, web servers, and APIs in a single environment.
  • Employing Dockerfiles to define and automate the build process for custom containers, ensuring reproducibility.
  • Integrating Docker into continuous integration and testing workflows to standardize development and production environments.
  • Engaging with the Docker open-source community to resolve emerging issues and contribute to the evolution of container technology.

Experimental results

Research questions

  • RQ1How can Docker improve the reproducibility and portability of astronomy software deployments?
  • RQ2What are the practical challenges in using Docker for scientific software in astronomy, and how can they be mitigated?
  • RQ3To what extent does Docker enhance collaboration and environment consistency among developers and system administrators?
  • RQ4How does Docker compare to traditional virtual machine-based solutions in terms of performance and maintainability for astronomy workloads?
  • RQ5What role does community engagement play in the effective adoption and evolution of container technologies like Docker in scientific computing?

Key findings

  • Docker significantly improved environment consistency, reducing setup complexity and ensuring that software behaves identically across development, testing, and production environments.
  • The use of Dockerfiles and container images enabled reliable, repeatable builds and simplified dependency management for astronomy software stacks.
  • Containerization through Docker enhanced collaboration by allowing developers to share only the Docker image or Dockerfile, guaranteeing identical runtime environments.
  • Problems such as network configuration and volume mounting were resolved through active engagement with the Docker community, highlighting the importance of community support in rapidly evolving technologies.
  • The projects demonstrated that Docker is well-suited for deploying complex, multi-service astronomy applications, such as VO-compliant data access services, with improved maintainability and scalability.
  • The authors anticipate widespread adoption of Docker and similar container technologies in astronomy due to their strong support for reproducible science and efficient system deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.