Portainer icon

Portainer

Work with Portainer API data to manage Docker

Registry → Create

AI-generated

Overview

This node operation allows users to create a new registry in Portainer, a Docker management platform. It is useful for managing Docker image registries by adding new registry configurations such as registry name, URL, type, and optional authentication credentials. For example, a user can create a registry for DockerHub or a custom registry to enable image pulls and pushes through Portainer.

Use Case Examples

  1. Creating a new DockerHub registry with authentication credentials.
  2. Adding a custom registry URL for private image storage.

Properties

Name Meaning
Registry Name The name of the registry to be created.
Registry URL The URL of the registry to connect to.
Registry Type The type of the registry, e.g., Quay.io, Azure, Custom, Gitlab, ProGet, DockerHub, or ECR.
Username Username for authenticating with the registry.
Password Password for authenticating with the registry.

Output

JSON

  • Name - Name of the created registry.
  • URL - URL of the created registry.
  • Type - Type identifier of the created registry.
  • Username - Username used for the registry authentication.

Dependencies

  • Portainer API with an API key credential for authentication

Troubleshooting

  • Ensure the registry URL is correct and accessible from the Portainer instance.
  • Verify that the API key credential used has permissions to create registries.
  • Check that the registry type value is valid and supported.
  • If authentication is required, ensure the username and password are correct.
  • Network or SSL issues might cause failures; use the 'Ignore SSL Issues' option if necessary.

Links

Discussion