Message boards : Theory Application : Docker on Windows
Message board moderation

To post messages, you must log in.

1 · 2 · 3 · Next

AuthorMessage
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8550 - Posted: 20 Mar 2025, 9:24:30 UTC
Last modified: 20 Mar 2025, 9:28:03 UTC

The new docker on Windows app seems to be working. In order to try it out you will need the latest build of the Windows client from the github master branch.

https://github.com/BOINC/boinc/actions/runs/13959247495/artifacts/2785007613

Copy the boinc.exe and boinccmd.exe to the C:\Program Files\BOINC and restart the client.
Using the wsl from the Windows command prompt, download the Ubuntu image. Typing the command wsl should return the Liunx command prompt from the Ubuntu VM.
Install podman in the VM and then try to run a Task via the BOINC client.
There may be one or two additional configuration steps needed but we can document them in this thread.

This configuration will all be wrapped up by the next release of the BOINC client so it should just work out-of-the-box.
ID: 8550 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 195
Credit: 551,737
RAC: 412
Message 8551 - Posted: 20 Mar 2025, 9:54:53 UTC - in response to Message 8550.  

In reply to Laurence CERN's message of 20 Mar 2025:
https://github.com/BOINC/boinc/actions/runs/13959247495/artifacts/2785007613

Page not found.


This configuration will all be wrapped up by the next release of the BOINC client so it should just work out-of-the-box.

Maybe this is why my wus say: "wsl_init(): no usable WSL distro" even if i have and Ubuntu machine running...
ID: 8551 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8553 - Posted: 20 Mar 2025, 10:00:44 UTC - in response to Message 8551.  

You need to be logged in to github to get the link. I have copied the zip file to my CERN Box area.

https://cernbox.cern.ch/s/h1oNAwlY178Uhdl
ID: 8553 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 195
Credit: 551,737
RAC: 412
Message 8563 - Posted: 20 Mar 2025, 13:15:55 UTC - in response to Message 8553.  

In reply to Laurence CERN's message of 20 Mar 2025:
You need to be logged in to github to get the link. I have copied the zip file to my CERN Box area.

https://cernbox.cern.ch/s/h1oNAwlY178Uhdl


Great!! Thank you!
ID: 8563 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8564 - Posted: 20 Mar 2025, 13:17:26 UTC - in response to Message 8563.  

I have also put it on the server.

https://lhcathomedev.cern.ch/lhcathome-dev/download/win_client_x64_.zip
ID: 8564 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 195
Credit: 551,737
RAC: 412
Message 8565 - Posted: 20 Mar 2025, 13:21:02 UTC - in response to Message 8564.  

But still the same error....

<core_client_version>8.1.0</core_client_version>
<![CDATA[
<message>
Funzione non corretta.
(0x1) - exit code 1 (0x1)</message>
<stderr_txt>
docker_wrapper config:
workdir: /boinc_slot_dir
use GPU: no
Web graphics guest port: 80
create args: --log-driver=k8s-file --cap-add=SYS_ADMIN --device /dev/fuse
verbose: 1
wsl_init(): no usable WSL distro
wsl_init() failed: -1
2025-03-20 14:19:34 (3556): called boinc_finish(1)
ID: 8565 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8568 - Posted: 20 Mar 2025, 14:00:20 UTC - in response to Message 8565.  

Please delete the cc_config.xml in the boinc state directory (c:\ProgramData\BOINC) and restart the client. In the event log it should recognize WSL on starting. e.g.



17/03/2025 10:09:59 |  | Usable WSL distros:
17/03/2025 10:09:59 |  | -   Ubuntu (WSL 2) (default)
17/03/2025 10:09:59 |  | -      OS: Ubuntu (Ubuntu 24.04.1 LTS)
17/03/2025 10:09:59 |  | -      libc version: 2.39
ID: 8568 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 511
Credit: 400,710
RAC: 160
Message 8570 - Posted: 20 Mar 2025, 14:13:54 UTC - in response to Message 8565.  

Sounds trivial, but did you run the fresh Ubuntu installation once to create a username and set a password?
ID: 8570 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8572 - Posted: 20 Mar 2025, 14:24:35 UTC - in response to Message 8570.  

In reply to computezrmle's message of 20 Mar 2025:
Sounds trivial, but did you run the fresh Ubuntu installation once to create a username and set a password?


For me, YES
ID: 8572 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 195
Credit: 551,737
RAC: 412
Message 8573 - Posted: 20 Mar 2025, 14:28:22 UTC - in response to Message 8568.  

In reply to Laurence CERN's message of 20 Mar 2025:
Please delete the cc_config.xml in the boinc state directory (c:\ProgramData\BOINC) and restart the client. In the event log it should recognize WSL on starting. e.g.


This is my log:

20/03/2025 14:18:09 | | The BOINC client version has changed from 8.0.2 to 8.1.0.
20/03/2025 14:18:14 | | Docker detection in Ubuntu:
20/03/2025 14:18:14 | | - cmd: podman --version
20/03/2025 14:18:14 | | - output: /bin/bash: line 1: podman: command not found
20/03/2025 14:18:14 | | Docker detection in Ubuntu:
20/03/2025 14:18:14 | | - cmd: docker --version
20/03/2025 14:18:14 | | - output: /bin/bash: line 1: docker: command not found
20/03/2025 14:18:15 | | Windows processor group 0: 12 processors
20/03/2025 14:18:15 | | Local time is UTC +1 hours
20/03/2025 14:18:15 | | Usable WSL distros:
20/03/2025 14:18:15 | | - Ubuntu (WSL 2) (default)
20/03/2025 14:18:15 | | - OS: Ubuntu (Ubuntu 24.04.2 LTS)
20/03/2025 14:18:15 | | - libc version: 2.39
ID: 8573 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8581 - Posted: 20 Mar 2025, 16:25:12 UTC - in response to Message 8573.  

You need to install podman.

Access the VM

wsl -d Ubuntu 


Install podman

sudo apt-get install podman
ID: 8581 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Toby Broom

Send message
Joined: 19 Aug 15
Posts: 57
Credit: 3,637,130
RAC: 285
Message 8584 - Posted: 20 Mar 2025, 17:50:03 UTC

Whats the ETA for Linux? my -dev computer is on Linux.
ID: 8584 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8586 - Posted: 20 Mar 2025, 19:31:31 UTC - in response to Message 8584.  

We are working on it in parallel. You can already give it a try. I will start a new thread.
ID: 8586 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8589 - Posted: 20 Mar 2025, 23:22:25 UTC - in response to Message 8586.  
Last modified: 20 Mar 2025, 23:22:50 UTC

First Docker-Task WSL finished atm:
https://lhcathomedev.cern.ch/lhcathome-dev/result.php?resultid=3390158
upload failure: <file_xfer_error>
<file_name>Theory_2843-4124703-641_2_r1804770537_result</file_name>
<error_code>-240 (stat() failed)</error_code>
</file_xfer_error>
</message>
ID: 8589 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8591 - Posted: 21 Mar 2025, 8:46:55 UTC - in response to Message 8589.  

Great! This error is due to me playing the template files on the server. Should resolve itself within a few task runs.
ID: 8591 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8592 - Posted: 21 Mar 2025, 8:53:33 UTC - in response to Message 8591.  

:-)) Thank you, good work from you and your Team.
ID: 8592 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8593 - Posted: 21 Mar 2025, 9:20:08 UTC - in response to Message 8592.  

Two Task parallel now,
Taskmanager show:
vmmemWSL with 5.6 GByte RAM in use.
ID: 8593 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8595 - Posted: 21 Mar 2025, 14:15:43 UTC - in response to Message 8592.  

The real credit goes to David Anderson, who developed this. We are merely conducting a test deployment. From what I’ve seen so far, this looks very promising.
ID: 8595 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8612 - Posted: 24 Mar 2025, 15:33:10 UTC - in response to Message 8595.  

No problems so far (Win11pro-Docker).
ID: 8612 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1207
Credit: 889,924
RAC: 545
Message 8620 - Posted: 26 Mar 2025, 13:19:41 UTC - in response to Message 8595.  
Last modified: 26 Mar 2025, 13:28:15 UTC

I tried a Theory docker task on Windows 10 where I didn't have WSL installed. (so from scratch).

I scraped the information left and right and tried a first Theory task with docker instead of VBox.
Miraculously this very first docker task went right away, but was very short, so I'm not sure if any events were actually processed.

https://lhcathomedev.cern.ch/lhcathome-dev/result.php?resultid=3391407

A second task has processed 100000 events:

https://lhcathomedev.cern.ch/lhcathome-dev/result.php?resultid=3391435
ID: 8620 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · 3 · Next

Message boards : Theory Application : Docker on Windows


©2025 CERN