Deploying Private Docker Base Images

You can add docker base images, or starter environments, to the Code Ocean VPC deployment. These are open source docker images, such as recommended in starter environments that are hosted on DockerHub or the codeocean.com docker registry. This process of adding base docker images that include proprietary code or bundled with license files or secrets is included below. These docker images cannot be hosted on public docker registries.

Deploy a Private Docker Image

  1. Push your docker base image to Amazon ECR. Follow instructions in this article: pushing a docker image to ECR.

    Make sure to use the AWS ECR in the same AWS account where the Code Ocean VPC is deployed.

    Note that you need permissions to create repos and push images in Amazon ECR.

  2. From the Code Ocean Admin Panel, deploy a custom image.

    For the Docker Image field, specify the ECR docker image for example aws_account_id.dkr.ecr.region.amazonaws.com/my-image:tag.

Last updated