Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup did not work #2

Closed
janekx21 opened this issue May 1, 2023 · 8 comments
Closed

Setup did not work #2

janekx21 opened this issue May 1, 2023 · 8 comments

Comments

@janekx21
Copy link

janekx21 commented May 1, 2023

PS C:\Users\<my user>\Git\dop> ./setup.sh
PS C:\Users\<my user>\Git\dop> docker-compose build
[+] Building 17.9s (1/1) FINISHED
 => ERROR [internal] booting buildkit                                                         17.9s
 => => pulling image moby/buildkit:buildx-stable-1                                            17.1s
 => => creating container buildx_buildkit_default                                              0.8s
------
 > [internal] booting buildkit:
------
Error response from daemon: crun: creating cgroup directory `/sys/fs/cgroup/systemd/docker/buildx/li
bpod-b62494e7f96ad4d80e23ee9ecbdb05ae847da3a7d32c0255b519e7fbc33c6bd7`: No such file or directory: O
CI runtime attempted to invoke a command that was not found
@janekx21
Copy link
Author

janekx21 commented May 1, 2023

PS C:\Users\my_user\Git\dop> neofetch
                                ..,   HiWi@LAPTOP-VF7JJ92M
                    ....,,:;+ccllll   --------------------
      ...,,+:;  cllllllllllllllllll   OS: Windows 10 Pro x86_64
,cclllllllllll  lllllllllllllllllll   Host: LENOVO 20N4CTO1WW
llllllllllllll  lllllllllllllllllll   Kernel: 10.0.19044
llllllllllllll  lllllllllllllllllll   Uptime: 2 hours, 33 mins
llllllllllllll  lllllllllllllllllll   Packages: 17 (scoop)
llllllllllllll  lllllllllllllllllll   Shell: bash 4.4.23
llllllllllllll  lllllllllllllllllll   Resolution: 1920x1080
                                      DE: Aero
llllllllllllll  lllllllllllllllllll   WM: Explorer
llllllllllllll  lllllllllllllllllll   WM Theme: Custom
llllllllllllll  lllllllllllllllllll   CPU: Intel i5-8365U (8) @ 1.900GHz
llllllllllllll  lllllllllllllllllll   GPU: Caption
llllllllllllll  lllllllllllllllllll   GPU: Intel(R) UHD Graphics 620
`'ccllllllllll  lllllllllllllllllll   GPU
       `' \*::  :ccllllllllllllllll   Memory: 9661MiB / 24291MiB
                       ````''*::cll
                                 ``



PS C:\Users\my_user\Git\dop> docker --version
Docker version 23.0.4, build f480fb1
PS C:\Users\my_user\Git\dop> python --version
Python 3.11.3
PS C:\Users\my_user\Git\dop> docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.17.3
    Path:     C:\Users\my_user\.docker\cli-plugins\docker-compose.exe

Server:
 Server Version: 4.4.4
 Storage Driver: overlay
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
  Using metacopy: false
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge macvlan
  Log: k8s-file none passthrough journald
 Swarm: inactive
 Runtimes: ocijail runc runj runsc youki crun crun-wasm kata krun
 Default Runtime: crun
 Init Binary:
 containerd version:
 runc version:
 init version:
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.10.102.1-microsoft-standard-WSL2
 Operating System: fedora
 OSType: linux
 Architecture: amd64
 CPUs: 8
 Total Memory: 18.53GiB
 Name: LAPTOP-VF7JJ92M
 ID: 795a1c26-7025-458f-abb8-49ca856fff0c
 Docker Root Dir: /home/user/.local/share/containers/storage
 Debug Mode: false
 Experimental: true
 Live Restore Enabled: false
 Product License: Apache-2.0

WARNING: IPv4 forwarding is disabled

@fkantelberg
Copy link
Member

@janekx21 This looks more like a problem with your setup (docker + wsl2 + windows) than dob. Especially the No such file or directory could mean that permissions to the folders are missing hence the building of the container fails. We work with it on a debian based system to make it easier.

@janekx21
Copy link
Author

janekx21 commented May 2, 2023

Do you mean the host is a debian or the disto inside wsl2? Mine came with microsoft-standard-WSL2.

@fkantelberg
Copy link
Member

The host is normally debian based. It might work with windows and wsl2 but I can't provide support because I don't have a windows system here. The described problem is part of windows + wsl2 + docker any has nothing to do with the tool.

@pniederlag
Copy link

@janekx21 is this still an issue for you?

@janekx21
Copy link
Author

@pniederlag no. I dont use dob, because it did not work for me on windows. I sadly dont have the time to test a new version or setup

@fkantelberg
Copy link
Member

Nothing changed for dob because cgroups are still required. You could check microsoft/WSL#4189 if it works for you.

@fkantelberg
Copy link
Member

Tested and works now on windows WSL2 (used Ubuntu).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants