![]() In the Services tool window ( View | Tool Windows | Services or Alt+8), select the Images node. You can see the configured Docker registries in the Services tool window.Īlternatively, you can manage the list of configured Docker registries in Docker Registry settings. The Connection successful message should appear at the bottom of the dialog. When you specify the credentials, PhpStorm will automatically check the connection to the registry. In the New Docker Registry dialog, specify how to connect to the registry. In the Services tool window, click and select Docker Registry. You don't need to configure a registry if you're going to use only public images hosted on Docker Hub. Pull pre-built images from a Docker registryįor example, you can build an image that runs a container with a specific version of PHP that your application requires.įor example, if you want to demonstrate to someone how your application runs in some specific version of PHP instead of setting up the proper environment, they can run a container from your image. For more information, see Images.ĭepending on your development needs, you can use Docker for the following: To manage Docker images in PhpStorm, open the Services tool window ( View | Tool Windows | Services or Alt+8), expand the configured Docker connection node, and then expand the Images node. PhpStorm Docker registry provides a selection of preconfigured Docker images serving common PHP development needs. Open the Installed tab, find the Docker plugin, and select the checkbox next to the plugin name. ![]() Press Ctrl+Alt+S to open the IDE settings and select Plugins. If the relevant features aren't available, make sure that you didn't disable the plugin. This functionality relies on the Docker plugin, which is bundled and enabled in PhpStorm by default. ![]() For more information, see Configure a Docker registry. There are other public and private Docker registries, and you can also deploy your own registry server. By default, PhpStorm uses Docker Hub, which is a public registry with all the most common images, such as various Linux flavors, database management systems, web servers, and runtime environments. ![]() Docker uses registries to distribute images. Docker images are executable packages for running containers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |