initOS / dob

Tool to bootstrap and manage Odoo instances using docker-compose
Other
17 stars 6 forks source link

Setup did not work #2

Open janekx21 opened 1 year ago

janekx21 commented 1 year ago
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 commented 1 year ago
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 commented 1 year ago

@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 commented 1 year ago

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

fkantelberg commented 1 year ago

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 commented 4 months ago

@janekx21 is this still an issue for you?

janekx21 commented 4 months ago

@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 commented 4 months ago

Nothing changed for dob because cgroups are still required. You could check https://github.com/microsoft/WSL/issues/4189 if it works for you.