Docker Registry settings
File | Settings | Build, Execution, Deployment | Docker | Docker Registry for Windows and Linux
IntelliJ IDEA | Settings | Build, Execution, Deployment | Docker | Docker Registry for macOS
CtrlAlt0S
Specify the settings for accessing the Docker registry used to store and distribute Docker images.
This functionality relies on the Docker plugin, which is bundled and enabled in IntelliJ IDEA by default. If the relevant features aren't available, make sure that you didn't disable the plugin.
note
The Docker plugin is available by default only in IntelliJ IDEA Ultimate. For IntelliJ IDEA Community Edition, you need to install the Docker plugin as described in Install plugins.
Press CtrlAlt0S to open the IDE settings and select Plugins.
Open the Installed tab, find the Docker plugin, and select the checkbox next to the plugin name.
By default, IntelliJ IDEA allows you to pull public images from Docker Hub. If you want to use a private repository, add a Docker registry and provide your account credentials.
Add
Add a new Docker registry.
Delete AltDelete
Remove the selected Docker registry.
For each Docker registry, configure the following:
- Name
Specify the name for this registry configuration.
- Registry
Select one of the available public Docker registries or a custom self-hosted instance:
Docker Hub: registry.hub.docker.com
GitLab: gitlab.com
JetBrains Space: your instance of Space
Docker V2: your instance of the Docker Registry HTTP API V2
Generic: your instance of a self-hosted Docker registry
note
Unlike other types of registries, a configured Generic self-hosted registry will not be available in the Services tool window (View | Tool Windows | Services or Alt08), so you will not be able to browse and pull images from it. It will, however, be available along with other registries in the list for pushing an image.
- Address
Specify the URL of your Space instance. For other registries, the public URL is predefined.
- Username
Specify the name of your user account in the selected registry.
- Password
Specify the password for your user account in the selected registry.
- Token
Specify the access token for the selected Docker registry
Thanks for your feedback!