Docker
Imagine being able to package your entire application with all its code, libraries, and dependencies into a single, portable unit that runs consistently in any…
Install in
Imagine being able to package your entire application with all its code, libraries, and dependencies into a single, portable unit that runs consistently in any environment. That's the benefit offered by the Docker Plugin for your JetBrains IDE. The plugin also provides official support for Podman, giving you the flexibility to choose the container engine that best suits your needs.
What is Docker?
Docker is like a shipping container for your code. It wraps everything your application needs into a neat package called a "container" that works the same way on any computer. No more "but it works on my machine" problems!
What Can You Do With Our Docker Plugin?
- Build and Run Containers With a Click — Create and manage Docker Images and Containers right from your IDE—no command line needed!
- See Everything in One Place — View all your containers, images, networks, and volumes in a clean, organized interface.
- Create Multi-Container Apps Easily - Manage complex Docker Compose projects with powerful editing tools and visual feedback.
- Smart Editing for Docker Files — Write Dockerfiles with syntax highlighting, code completion, and validation that catches mistakes before they cause problems.
- Test in Containers, Debug Like Local - Run and debug your applications in containers that match your production environment, but with the convenience of local development.
- Watch Your Containers in Action — Monitor logs, check performance, and connect to running containers with an integrated terminal.
- Choose Your Container Engine — Work with Docker or Podman (an alternative container engine) based on your preference.
Why Use Containers?
- Consistent Environments — Your application runs the same way in development, testing, and production.
- Faster Onboarding — New team members can start coding in minutes instead of spending days setting up their environment.
- Isolated Testing — Test your changes in a container that won't affect your main system.
- Easy Deployment — Package once, deploy anywhere—from your laptop to the cloud.
- Reproducible Environment — Develop in a consistent, reproducible environment that matches your production setup.
- Pre-configured Environments — Quickly onboard new team members with pre-configured development environments.
- Isolation — Isolate project dependencies and tools without affecting your local machine.
Getting Started
To configure the Docker connection, open Settings | Build, Execution, Deployment | Docker.
Learn more in our comprehensive documentation.
Written by Joobi from the project's own listing. See the source page
2025.2
Dockerfile- Added autocompletion for image references using the format
image:tag@digest. - Improved syntax highlighting and validation in Dockerfiles for
# escape=`and multiple lines. - Introduced support for the build options
--build-context,--squash,--output. - New Docker run options are available now:
–-health-cmd,–-health-interval,–-health-retries,–-health-start-period,–-health-timeout,--cap-add=sys_nice for fine,--tmpfs,--read-only,--dns.
Docker Compose
- Added support for multiple
--env-fileentries and--no-log-prefixoption in Docker Compose run configurations. - Added support for
Containerfileas an alternative toDockerfilewith full syntax highlighting and autocompletion for Podman and Buildah users. - Improved Podman support with enhanced stability and compatibility across platforms, making it a reliable alternative to Docker.
- Added seamless integration with Podman Machine environments on Windows and macOS, with a dedicated configuration section and options to select rootful/rootless machine, simplifying container workflows.
- Fixed file type recognition for Podman container files in the editor, ensuring proper highlighting and formatting.
- Added support for
env_filewithpathandrequiredoptions, improving environment variable management. - Fixed WSL running process issues that affected performance when creating remote Docker interpreters or connecting to databases, improving overall system reliability.
- Introduced an inspection to ensure
ENTRYPOINTusesexecfor proper signal handling and clean shutdowns. - Added support for lowercase instructions (e.g.,
from,run), offering flexibility in Dockerfile syntax. - Enhanced autocompletion for external images in
COPY --from=, simplifying multi-stage builds. - Initial Podman support has been added, providing an alternative to Docker for container management. Added support for Compose deployments using Podman.
- .env files are now prioritized at the top of the autocompletion list for env_file configuration.
- New build options: 'cache_to', 'no_cache', 'tags', and 'platforms', offering enhanced control over caching, tagging, and platform specifications.
- Recognizes 'depends_on.required' and 'depends_on.restart' for better dependency and restart behavior management.
- Adds 'deploy.placement.preferences' for flexible service placement options.
- Supports resource management keys like 'deploy.resources.pids' and 'deploy.resources.reservations.devices'.
- Enables multiple build contexts with 'build.additional_contexts' and supports privileged builds with 'build.privileged'.
- Adds 'cgroup' configuration and long syntax for 'extra_hosts' to control service group settings and custom host mappings.
- Introduces 'healthcheck.start_interval' for customizable health check intervals and supports 'networks.mac_address' for MAC address specifications.
- Enhances port configuration with 'ports.name' and 'ports.app_protocol', and supports 'secrets.environment' for secret management through environment variables.
- Added support for 'build.ulimits' and 'uts' keys in the editor.
- Expanded Quick Help support for keys and sub-keys ('condition', 'constraints', 'resources', 'healthcheck', 'logging', 'ulimits', 'version').
- Paths for executable files can be entered for each Docker configuration.
- A modern icon is now used in the Services Tool Window for Docker Registry.
2025.1
General2024.3
PodmanEditor support for docker compose has a lot of improvements:
Settings:
Services Tool Window:
Follow this listing's changes (Atom feed)