IntelliJ IDEA
 
Get IntelliJ IDEA

Docker images

Last modified: 11 October 2024

Docker images are executable packages for running containers. Docker uses registries to distribute images. By default, IntelliJ IDEA 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. There are other public and private Docker registries, and you can also deploy your own registry server. For more information, refer to Configure a Docker registry.

To manage Docker images in IntelliJ IDEA, open the Services tool window (View | Tool Windows | Services or Alt08), expand the configured Docker connection node Docker node, and then expand the Images node. For more information, refer to Images.

Service tool window - Docker - Images

Depending on your development needs, you can use Docker for the following:

  • Pull pre-built images from a Docker registry

    For example, you can pull an image that runs a PostgreSQL server container to test how your application will interact with your production environment.

  • Build images locally from a Dockerfile

    For example, you can build an image that runs a container with a specific version of the Java Runtime Environment (JRE) that your application requires.

  • Push your images to a Docker registry

    For example, if you want to demonstrate to someone how your application runs in some specific version of the JRE instead of setting up the proper environment, they can run a container from your image.