Docker Registry settings
Last modified: 17 March 2023File | Settings | Build, Execution, Deployment | Docker | Docker Registry for Windows and Linux
WebStorm | Settings | Build, Execution, Deployment | Docker | Docker Registry for macOS
Ctrl+Alt+S
Specify the settings for accessing the Docker registry used to store and distribute Docker images.
Enable the Docker plugin
This functionality relies on the Docker plugin, which is bundled and enabled in WebStorm by default. If the relevant features aren't available, make sure that you didn't disable the plugin.
Press Ctrl+Alt+S 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.
warning
The page is available only when the Docker plugin is enabled on the Settings | Plugins page as described in Managing plugins.
By default, WebStorm 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 Alt+Delete
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 Alt+8), 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