Image for post
Image for post

New: compute capsules now exportable from Code Ocean

Code Ocean
Oct 2, 2018 · 3 min read

ode and data on Code Ocean have been open access from day one, and a key component of that commitment is the ability to export code and data for use elsewhere. We are excited to announce that you can now export a compute capsule as a whole, computational environment included. This new functionality will enable researchers to take published and private compute capsules out of Code Ocean and run the code on machines of their choosing, to reproduce published results or build on top of them.

On Code Ocean, authors retain ownership of their code and data and can specify whatever reuse license they choose. This means that they can export compute capsules from Code Ocean and freely share or store them in alternative repositories to their liking. To facilitate this, Code Ocean’s curated set of base environments is now publicly available on Code Ocean’s public docker registry and can be accessed by following the instructions provided in the exported archive.

The exported capsule archive will contain the following:

  • Code and (optionally) data folders;
  • A metadata folder with a file in YAML format containing the complete capsule metadata;
  • An environment folder containing a recipe for building the capsule’s computational environment, in the form of a Dockerfile and any supporting files required.

To reproduce the results locally, follow the instructions in, found at the root level (or see this knowledge base article). These will walk you through installing the necessary prerequisites (such as Docker), downloading additional public datasets (if applicable), fetching the Docker image or building it locally, and finally using the image to execute the code within a Docker container. Base images containing commercial software such as MATLAB and Stata will require the user to provide a license (whether a pre-existing personal license or a trial license) and mount it into the container during runtime.

We would like to take this opportunity to commit to an open access compute capsule pledge. Published compute capsules will always remain open access. Our intention is to build a sustainable platform for researchers and their institutions to make their work reproducible and reusable. We hope to leave a legacy for generations to come, serving the scientific and research community in a fair and enduring manner.

We’re open and receptive to comments and feedback, and will adjust accordingly to make things clearer or make improvements to this functionality. You can write us privately at, comment below, or tweet to us @codeoceanHQ.

Image for post
Image for post
Simon Adar is the CEO of Code Ocean, a computational reproducibility platform. He holds a Ph.D. from Tel-Aviv University in Hyperspectral image processing. Find him on twitter @SimonAdar
Image for post
Image for post
Shahar Zaks is the Chief Product Officer at Code Ocean

Originally published at

Code Ocean

The Code Ocean blog sheds light on the researchers behind…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store