Message boards : Theory Application : Win11pro - 7.37 (docker)
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
Send message Joined: 22 Apr 16 Posts: 733 Credit: 2,335,674 RAC: 4,124 ![]() ![]() ![]() |
PS C:\WINDOWS\system32> wsl.exe -d Ubuntu maeax@THREAD3995:/mnt/c/WINDOWS/system32$ cd slots/99 -bash: cd: slots/99: No such file or directory maeax@THREAD3995:/mnt/c/WINDOWS/system32$ ----- maeax@THREAD3995:/mnt/c/WINDOWS/system32$ podman build -t test . Error: no Containerfile or Dockerfile specified or found in context directory, /mnt/c/WINDOWS/system32: no such file or directory maeax@THREAD3995:/mnt/c/WINDOWS/system32$ |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1134 Credit: 339,231 RAC: 0 ![]() |
cd /mnt/c/ProgramData/BOINC/slots/99 |
Send message Joined: 24 Oct 19 Posts: 214 Credit: 603,188 RAC: 567 ![]() ![]() ![]() |
Same here! |
Send message Joined: 22 Apr 16 Posts: 733 Credit: 2,335,674 RAC: 4,124 ![]() ![]() ![]() |
In reply to Laurence CERN's message of 20 Mar 2025: cd /mnt/c/ProgramData/BOINC/slots/99 PS C:\WINDOWS\system32> wsl.exe -d Ubuntu maeax@THREAD3995:/mnt/c/WINDOWS/system32$ cd /mnt/c/ProgramData/BOINC/slots/99 maeax@THREAD3995:/mnt/c/ProgramData/BOINC/slots/99$ --------------------- PS C:\WINDOWS\system32> wsl.exe -d Ubuntu maeax@THREAD3995:/mnt/c/WINDOWS/system32$ cd /mnt/c/ProgramData/BOINC/slots/99 maeax@THREAD3995:/mnt/c/ProgramData/BOINC/slots/99$ podman build -t test . WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers Error: no Containerfile or Dockerfile specified or found in context directory, /mnt/c/ProgramData/BOINC/slots/99: no such file or directory maeax@THREAD3995:/mnt/c/ProgramData/BOINC/slots/99$ |
![]() ![]() Send message Joined: 12 Sep 14 Posts: 1134 Credit: 339,231 RAC: 0 ![]() |
Here are the commands to run . C:\Users\boinc>wsl mkdir /mnt/c/ProgramData/BOINC/slots/99 cd /mnt/c/ProgramData/BOINC/ cp projects/lhcathomedev.cern.ch_lhcathome-dev/* slots/99 cd slots/99 ln -s Dockerfile_20_03_2025 Dockerfile ln -s entrypoint_20_03_2025.sh entrypoint.sh podman build -t test . podman run --cap-add=SYS_ADMIN --device /dev/fuse -v ./:/boinc_slot_dir test |
![]() Send message Joined: 28 Jul 16 Posts: 519 Credit: 400,710 RAC: 0 ![]() ![]() |
I'm missing the following points: 1. Advice to create subuids and subgids. See: https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md#etcsubuid-and-etcsubgid-configuration 2. Advice to install and configure CVMFS and autofs on the host This saves lots of network traffic and disk space since a single CVMFS instance can provide data for many containers. 3. The test 'run' command should look like this: podman run -it --rm -v /cvmfs:/cvmfs:shared -v ./:/boinc_slot_dir test '--rm' ensures a container is removed automatically after it's finished. --cap-add=SYS_ADMIN --device /dev/fuse should both be avoided. They are not required if CVMFS is correctly set up. |
©2025 CERN