Get runners logs using Windows WSL2

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Windows’s WSL is not officially supported as it is not tested and designed for Windows' WSL; Users can still set it up for evaluation purposes

Summary

The user cannot get the runner log file while using Windows WSL2.

Cause

Docker Desktop with WSL2 uses different paths to store the container log, which Runner uses to populate on Pipelines UI.

Solution

The following steps are to attach the directory to WSL and allow Runner to obtain the log:

1 2 3 4 5 6 7 # Run the following command in Powershell to attach the follow wsl path to unmapped drive - `w:` net use w: \\wsl$\docker-desktop-data # Then make sure `w:` network drive is attached with Windows' explorer # From WSL console sudo mkdir -p /var/lib/docker/containers sudo mount -t drvfs w://version-pack-data/community/docker/containers /var/lib/docker/containers/
Updated on April 24, 2025

Still need help?

The Atlassian Community is here for you.