Docker images
Docker images are executable packages for running containers. Docker uses registries to distribute images. By default, JetBrains Fleet 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. .
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.
Pull a public image from Docker Hub
In the Images pane, click the Pull button.
Specify the image as in the Docker CLI, for example: ubuntu:20.04
.
Build and run an image from a Dockerfile
Open the Dockerfile from which you want to build the image.
In the gutter, click the Run button.