Closed awdAvenger closed 1 year ago
I got it to get further.
I was trying this from SSH and didn't notice a popup on the GUI that asked me to enable System Extensions from the recovery OS. After doing that and allowing the macFUSE extension, docker build starts as expected.
However it now seems to be stuck on executing the first RUN command.
Even on a simple mkdir or touch command that I'm able to execute from a running docker image if I try to do that.
New output:
$ docker build --progress=plain .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 113B done
#1 DONE 0.0s
#2 [internal] load metadata for ghcr.io/macoscontainers/macos-jail/ventura:latest
#2 ...
#3 [auth] macoscontainers/macos-jail/ventura:pull token for ghcr.io
#3 DONE 0.0s
#2 [internal] load metadata for ghcr.io/macoscontainers/macos-jail/ventura:latest
#2 DONE 1.1s
#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [1/2] FROM ghcr.io/macoscontainers/macos-jail/ventura:latest@sha256:fc0f84066d4d6ab6f02941bbe0b2d7beb8211a41d6393b5f676c82212a63308b
#5 CACHED
#6 [2/2] RUN mkdir -p /test
I pushed some updates in https://github.com/macOScontainers/homebrew-formula/commit/e559375f12451bf727ca6e2495d50c78e1c108fd. Could you please try updating, restarting containerd + dockerd, and trying again? If things still do not work, you should be able to see logs in /opt/homebrew/var/log/containerd.log
+ /opt/homebrew/var/log/dockerd.log
.
Oh, wait, I have reproduced this. Debugging what is going wrong...
As a temporary workaround, use DOCKER_BUILDKIT=0 docker build .
Fixed in rund 0.0.6
I'm having issues running a simple 'docker build .' command of a very simple Dockerfile:
Installation has been performed with homebrew as per the readme in the homebrew-repository and I can run containers with 'docker run' like the example in the Readme.
Here is the output when trying 'docker build .':
And there it's stuck, I tried to wait for 10 mins and if I press CTRL-C after that I get:
SIP has been disabled and I'm running MacOS Sonoma:
Here's the docker info while the build is stuck: