Installation (Windows Server 2019)

NOTE: We highly recommend you to install xltrail on a Linux server. Linux offers a stable environment with a simple installation procedure that is both resource efficient and cheap. The Windows installation requires Windows Server 2019 version 1809 or later and must support Hyper-V/nested virtualization. xltrail on Windows makes use of features that are deemed experimental (Linux containers on Windows "LCOW").
Known Issues: Starting the application is slow and xltrail needs to be restarted after a server reboot.

1. Requirements

  • Windows Server 2019 version 1809 or later
  • Hyper-V support - on VMs this means that "nested virtualization" must be supported

Currently, Microsoft Azure offers nested virtualization only on their latest generation of virtual machines: D_v3, Ds_v3, E_v3, Es_v3, F2s_v2-F72s_v2, M.

On Azure, select Windows Server 2019 Datacenter as Image and make sure to change the Size to one that supports nested virtualization. We recommend D4s_v3 for xltrail (4 vCPUs / 16 GB RAM).

On AWS, nested virtualization is currently only supported on bare metal servers.

2. Dependencies

NOTE: All commands in this section must be run in PowerShell with Administrator rights. They are marked with PS>.

2.1 Install Docker, Windows Containers and LCOW

PS> Install-PackageProvider -Name NuGet -MinimumVersion -Force
PS> Install-Module "DockerMsftProvider" -Force
PS> Update-Module "DockerMsftProvider"
PS> Install-Package Docker -ProviderName "DockerMsftProvider" -Update -Force

PS> Install-WindowsFeature Containers

PS> mkdir "$Env:ProgramFiles\Linux Containers"; cd "$Env:ProgramFiles\Linux Containers"
PS> curl -OutFile
PS> Expand-Archive -DestinationPath . .\
PS> rm

PS> Restart-Computer

2.2 Start Docker

The following commands enable the experimental Docker features required for LCOW.

PS> Set-Content -Value "`{`"experimental`":true`}" -Path C:\ProgramData\docker\config\daemon.json
PS> restart-service docker

2.3 Windows paging file size

  • Click on the Windows icon and type SystemPropertiesAdvanced.
  • Right-click on it and Run as administrator.
  • On the Advanced tab, select Performance > Settings...
  • In the pop up, go to the Advanced tab and click on Change...
  • Make sure that Automatically manage paging file size for all drives is unchecked
  • Select the [Windows] drive (usually C:), select the System managed size radio button and then make sure to click the Set button.

2.4 Hyper-V

PS> Install-WindowsFeature Hyper-V –IncludeManagementTools –Restart

Windows will restart.

2.5 Docker Compose

Install Docker Compose and fix Docker volume permissions

PS> Invoke-WebRequest "" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\docker-compose.exe
PS> icacls C:\ProgramData\docker\volumes /grant *S-1-5-83-0:"(OI)(CI)F" /T

2.6 Git

Go to and download Git. Alternatively, download the installer like this:

PS> curl -OutFile Git-

Double-click the installer and accept all the defaults.

3. xltrail

NOTE: All xltrail commands (i.e. all commands in this section) must be run with Git Bash, not with PowerShell or Command Prompt. The commands are marked with $. You can paste into Git Bash by doing Shift + Ins or by right-clicking.

3.1 xltrail CLI

$ mkdir -p /etc/xltrail
$ curl -sSL -o /etc/xltrail/
$ echo 'alias xltrail="bash /etc/xltrail/"' >> ~/.bash_profile
$ source ~/.bash_profile

3.2 Config

Run the following command to create the config file and to add the settings required for the installation:

$ xltrail config

You will be prompted for your LICENSE_KEY, the DOCKER_REGISTRY_PASSWORD (both provided to you by email) and the HOSTNAME (e.g. IP address or something like

For any other configuration, edit the file directly under C:\Program Files\Git\etc\xltrail\xltrail.conf. For example, if you want to change the data directory, see: Configuration.

Note: Paths require forward slashes, e.g. C:/ProgramData/xltrail

3.3 Install xltrail

$ xltrail install

This will download the docker images and start the application.

NOTE: The very first time you will get a page full of errors. To resolve, simply restart the app:

$ xltrail restart

When the installation is done, type your server's IP address or domain name into a web browser and login with both username and password admin.

  • Once you are logged in, you can add new projects and/or Git integrations, see here.
  • You can add users manually by going to the user icon on the top right, then Settings > Team. If you would rather want to connect xltrail with your LDAP/AD directory, have a look at the LDAP docs.
NOTE: You have to change the admin password either in the app via the user icon on the top right, then Change Password or by running xltrail password from Git Bash. Note that you can do the latter anytime to reset the admin password.

results matching ""

    No results matching ""