...
In Synapse, Docker containers are represented as versioned ‘repositories’ under the Docker tab. As with files and tables, repositories are organized by project and inherit the access permissions from the parent project. Local sharing settings can be applied directly to the repository if permissions should differ from the project. Read more about local sharing settings in the Sharing settings and permissions article.
To learn more about working with Docker using one of our programmatic clients, including code examples for the below tasks, see:
Docker in Python Docs
Docker in R Docs
Creating a
...
New Docker
...
Image
To create a custom Docker image, you can choose to either modify an existing Docker image or build a Docker image from a Dockerfile. Docker images must be tagged with docker.synapse.org/synapseProjectId/myreponame
to allow images to be saved.
...
Learn more about building Docker images.
Storing Docker
...
Images in the Synapse Docker
...
Registry
To store Docker images, use the docker push
command. To push to the Synapse Docker registry, users must be logged into the registry, be a Synapse certified user and have edit permissions:
...
Code Block |
---|
docker login -u <anything> -p <access token> docker.synapse.org |
Using Docker
...
Images Stored in the Synapse Docker
...
Registry
To access the Docker images stored in Synapse, use the docker pull
command. To pull from the Synapse Docker registry, users must be logged into the registry and have download permissions:
...