Installation
JetBrains YouTrack is distributed as a Docker container.
The Docker container is an official image that is published on Docker Hub. This image contains all the necessary components for running YouTrack in a Docker container hosted in your server environment or internal infrastructure. The image is suitable for evaluation purposes and production use.
Here's a high-level overview of the steps required for installing YouTrack using a Docker container:
Each step is described in more detail below.
Prepare Your Environment
Ensure that you have Docker installed on the server or virtual machine where you want to install YouTrack. You can download and install Docker from the official website or use a package manager specific to your server's operating system.
When installing software on a server, it's generally recommended to use a user account with administrative or superuser privileges. In Unix-like operating systems, this user is often referred to as "root." In Windows, it's typically an account with administrative rights. Be sure that the account you use to access the server has permission to create folders and files in this environment.
If you're working in a Linux environment, you can usually proceed with the instructions provided here. Just make sure to install Docker on the machine where you want to host the application if it hasn't been installed already.
Our Windows Docker image is based on and supported for Windows Server 2019 and available as an application that is compatible with a Windows container. To learn how to prepare your environment to run a Docker container, please refer to the official Windows documentation.
Because Windows Server containers are tightly coupled to the host operating system version, running this image on newer hosts like Windows Server 2022 or 2025 can produce the error:
The container operating system does not match the host operating system
To run the 2019-based image on newer Windows Server versions, start the container in Docker’s Hyper-V isolation mode by adding --isolation=hyperv to your Docker run command.
Example: docker run -it --isolation=hyperv...
Ensure the Hyper-V feature is enabled on the OS level and that nested virtualization is supported and enabled. A reboot may be required after enabling these features.
To learn more, see Nested virtualization on Azure : A step-by-step guide
Enable Hyper-V to start automatically with bcdedit /set hypervisorlaunchtype auto. Next, restart the system Restart-Computer -Force and then run the hyperV-powershell script mentioned in the article above.
Create and Configure Directories
The YouTrack image is a stateful container. This allows the databases, log files, configuration files, and application data to be stored and maintained even if the container is restarted or moved to a different host.
Before starting the container, you need to provision directories on the host machine to store these files. These directories are then mapped to the YouTrack container as volumes during startup.
The YouTrack application uses the following directories:
Directory | Description |
|---|---|
data | The directory where YouTrack stores its database. For a new installation, this directory must be empty. |
conf | The directory where YouTrack stores configuration files that contain environment settings, JVM options, YouTrack integration settings, and so on. |
logs | The directory where YouTrack stores its log files. |
backups | The directory where YouTrack stores backups. For more details about backups, see Database Backup. |
These directories must be accessible to the user account that runs YouTrack service inside the container. YouTrack uses the non-root account 13001:13001 (group:id, respectively).
Specific instructions for provisioning storage resources vary by operating system. To make sure you see information that is relevant to your installation, select the tab that corresponds with the operating system used in your host environment.
If the host machine runs on Linux, you can execute the following commands to create the required directories on the host machine and apply the required access permissions:
mkdir— this is the command to create directories in Linux.-p— tells the operating system to create parent directories as needed. If any directories in the specified paths do not exist, they are created along with the specified directories.-m 750— sets the permissions (file mode) of the directories to750. In Unix-like systems, file mode permissions are represented as three octal digits, where each digit represents permissions for owner, group, and others (in that order). With750, the owner has read, write, and execute permissions (7), the group has read and execute permissions (5), and others have no permissions (0).<path to <name> directory>— these are placeholders for the actual paths to the directories you want to create. Replace these with the actual paths where you plan to store YouTrack application data and other files.chown— changes ownership of the created directories.-R— tells the operating system to perform this action recursively, changing ownership for the specified directories and all their contents.13001:13001— specifies the user and group to which ownership is being changed. In this case, it changes the ownership to user ID 13001 and group ID 13001.<path to <name> directory>— these are placeholders for the actual paths to the directories whose ownership is updated. As with themkdircommand, you need to replace these with the actual paths where you plan to store YouTrack application data and other files.
If the host machine runs on Windows, you can run the following commands to create the required YouTrack directories on the host machine PowerShell:
New-Item— creates the directories with the specified paths.<path to <name> directory>— these are placeholders for the actual paths to the directories you want to create. Replace this with the actual location where you plan to store YouTrack application data and other files.
Pull a YouTrack Image
Locate the latest version of the software on Docker Hub.
Each version and build is listed by tag.
Once you have located the image that corresponds with the most recent YouTrack version, you can click to copy the pull command directly from the Docker Hub repository.
Open a CLI tool in the target environment.
Use the command to pull the image from the repository and install it on your local machine or host environment.
The command uses the following format:
docker pull jetbrains/youtrack:<version>If you didn't copy the command directly from Docker Hub, replace the
<version>variable with the full version number of a YouTrack build.
Locate the latest version of the software on Docker Hub.
Each version and build is listed by tag.
The Windows image is intended for a Windows Server host that is configured to run Windows containers. Do not use Docker Desktop on Windows Server. For environment requirements, see Prepare Your Environment.
Once you have located the image that corresponds with the most recent YouTrack version, you can click to copy the pull command directly from the Docker Hub repository.
Open a CLI tool in the target environment.
Use the command to pull the image from the repository and install it on your local machine or host environment.
The command uses the following format:
docker pull jetbrains/youtrack-windows:<version>If you didn't copy the command directly from Docker Hub, replace the
<version>variable with the full version number of a YouTrack build.
Run the Docker Container
Once you have set up the directories where YouTrack stores application data as described above, you can define mappings to the directories inside the Docker container as arguments in the command you use to run the container.
Use the following command to start the container for the YouTrack service:
This command automatically creates the volumes required for storing application data and maps them to the directories provisioned in the host environment. It also specifies the port the YouTrack service uses to send and receive data on the server.
Use the following information to customize this command as needed:
-ita command-line flag that attaches both the input and output of the container to your terminal. This lets you see the output produced by the container as if it were running directly in your terminal.When the container starts, you will see the log messages generated during the initialization process as well.
Pressing Ctrl + C while the terminal is attached to a container's output sends an interrupt signal to the container's running process. This is similar to how you would stop a regular process in your terminal. This command causes the container to shut down, so be cautious when using Ctrl + C in this context.
If you want to detach the terminal from the container output without interrupting the processes running in it, press Ctrl + P followed by Ctrl + Q.
For more details, please refer to the official Docker documentation.
--name youtrack-server-instancethis is an arbitrary name for the container.By default, Docker generates random and sometimes cryptic names for containers. Use the
--nameoption to give your container a more meaningful and human-readable name that makes it easier to identify and manage.-v <path to <name> directory>:<path inside container>these options specify the location of the storage provisioned on the host machine and map them to the corresponding directories inside the container.Use
/opt/youtrack/<name>in Linux commands andC:/opt/youtrack/<name>in Windows commands.-p <port on host>:8080parameter that defines the port mapping. This tells the host machine to listen for traffic on the<port on host>port and propagate all traffic to port8080inside the container.The listen port must be accessible to end users or to the reverse proxy server, if one is in use. This may require explicitly opening access to this port through the firewall.
The YouTrack service starts on {0.0.0.0:8080} inside the Docker container, and port 8080 is mapped to the specified <port on host>. This way the service can be accessed from any machine that has network access to the <port on host> of your host machine. For instance, if the fully qualified domain name (FQDN) of the host machine is host.mydomain.com and the <port on host> is 7777, the service will be available at http://host.mydomain.com:7777.
Configure a New Installation
The setup wizard appears only for a new installation with empty database directories. Open the token-protected wizard URL printed in the container output. For example:
Replace <docker-host> and <host-port> with your Docker host and published port. Startup messages are written to logs/youtrack-on-prem.log. Use the host name and published port from your deployment.
To configure a new installation:
Open the wizard URL in a browser. If you open the installation address without its token, copy the value after
wizard_token=from the startup log into Authentication token and click Continue.On the Confirm Settings page, confirm the public base URL, language, and usage statistics settings. The wizard shows the built-in HTTPS state; to change TLS, prepare the certificate files and restart the container.

On the Configure Access page, set Admin username, Password, and Confirm password. Choose whether to enable Allow guest access for public projects.

On the Confirm License page, review the license name and key. Continuing accepts the License Agreement and Privacy Policy.

Click Finish and wait until the application is ready. Sign in with the administrator credentials you specified.
The wizard can persist the base URL in conf/youtrack.jvmoptions. To change it later, update the deployment configuration and restart. It is read-only in the application UI.
Unattended Setup
For a new installation, add -e JETBRAINS_YOUTRACK_SETUP_UNATTENDED=true before the image name in your run command to skip the wizard. By enabling unattended setup, you accept the License Agreement and Privacy Policy.
Supply the public URL with JETBRAINS_YOUTRACK_BASEURL. Set the initial administrator credentials with JETBRAINS_YOUTRACK_SETUP_ADMIN_LOGIN and JETBRAINS_YOUTRACK_SETUP_ADMIN_PASSWORD, or the corresponding JVM properties jetbrains.youtrack.setup.admin.login and jetbrains.youtrack.setup.admin.password. These values apply only during fresh setup.
If fresh setup is interrupted, clear the incomplete database contents before retrying, or restore a matched backup.
Troubleshooting
If you experience problems installing YouTrack, see if any of the following conditions apply.
Condition — You restart your container and all of your data is lost.
Cause | Solution |
|---|---|
This condition indicates that the container was started without provisioning directories on the host machine to store application files. | As long as you haven't removed the container, your data should still be available inside the container's writable layer. Follow these steps to recover your data:
If successful, your data is restored and running in a new container. Since it's now safely mounted on your host, you can restart and update your installation without losing data. |