A compute capsule is the key to enabling guaranteed computational reproducibility on Code Ocean.
To upload code to Code Ocean, a compute capsule needs to be created to store not only the code, but everything else that the code needs in order to run, namely:
A specification of the computational environment such as the specific versions of the operating system, packages, libraries, and other fundamentals that your code depends on.
At the core of the compute capsule is a Docker image and Dockerfile, which contains the necessary infrastructural layers built-in, and a set of constraints enforced to facilitate computational reproducibility.
For details on accessing this Dockerfile, see Exporting capsules and reproducing results on your local machine.