Message boards : Theory Application : Docker on Windows
Message board moderation
Author | Message |
---|---|
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
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. |
Send message Joined: 24 Oct 19 Posts: 195 Credit: 551,737 RAC: 412 ![]() ![]() |
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... |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
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 |
Send message Joined: 24 Oct 19 Posts: 195 Credit: 551,737 RAC: 412 ![]() ![]() |
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. Great!! Thank you! |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
I have also put it on the server. https://lhcathomedev.cern.ch/lhcathome-dev/download/win_client_x64_.zip |
Send message Joined: 24 Oct 19 Posts: 195 Credit: 551,737 RAC: 412 ![]() ![]() |
But still the same error.... <core_client_version>8.1.0</core_client_version> |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
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 |
![]() Send message Joined: 28 Jul 16 Posts: 511 Credit: 400,710 RAC: 160 ![]() ![]() |
Sounds trivial, but did you run the fresh Ubuntu installation once to create a username and set a password? |
Send message Joined: 22 Apr 16 Posts: 709 Credit: 2,114,314 RAC: 6,943 ![]() ![]() ![]() |
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 |
Send message Joined: 24 Oct 19 Posts: 195 Credit: 551,737 RAC: 412 ![]() ![]() |
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. |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
You need to install podman. Access the VM wsl -d Ubuntu Install podman sudo apt-get install podman |
Send message Joined: 19 Aug 15 Posts: 57 Credit: 3,637,130 RAC: 285 ![]() ![]() |
Whats the ETA for Linux? my -dev computer is on Linux. |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
We are working on it in parallel. You can already give it a try. I will start a new thread. |
Send message Joined: 22 Apr 16 Posts: 709 Credit: 2,114,314 RAC: 6,943 ![]() ![]() ![]() |
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> |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
Great! This error is due to me playing the template files on the server. Should resolve itself within a few task runs. |
Send message Joined: 22 Apr 16 Posts: 709 Credit: 2,114,314 RAC: 6,943 ![]() ![]() ![]() |
:-)) Thank you, good work from you and your Team. |
Send message Joined: 22 Apr 16 Posts: 709 Credit: 2,114,314 RAC: 6,943 ![]() ![]() ![]() |
Two Task parallel now, Taskmanager show: vmmemWSL with 5.6 GByte RAM in use. |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1114 Credit: 339,209 RAC: 43 ![]() |
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. |
Send message Joined: 22 Apr 16 Posts: 709 Credit: 2,114,314 RAC: 6,943 ![]() ![]() ![]() |
No problems so far (Win11pro-Docker). |
Send message Joined: 13 Feb 15 Posts: 1207 Credit: 889,924 RAC: 545 ![]() ![]() ![]() |
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 |
©2025 CERN