-
Notifications
You must be signed in to change notification settings - Fork 173
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
Container image security scanning doesn't work for Silicon macOS #1008
Comments
What! You can run Docker Desktop or Colima in our macOS runners? This means that we can run our tests without the dummy isolation provider! That's amazing (although Colima is technically not supported, which is another issue). As for the error at hand, I'm not sure that Docker is involved. What I see is that the
(the version field seems to be missing) |
Now, that's weird. I'm pretty sure I saw it not being able to run load the image at some point over the course of the weekend (not the error I linked though, you're right). It might be due to grep and cut not being the gnu ones. About being able to run colima (or Docker Desktop!), yep I'm following the same lines, it could enable us to run the CI on macOS as well, which would be satisfying! (This is would solve #520 also!) EDIT: opened #1009 to track this more broadly. |
The issue was about the fact that shell parameter expansion doesn't work cross shell, and especially not on macOS. Using From my experiments, using colima as a replacement to docker doesn't seem to work out of the box unfortunately. |
Cool, thanks for the dig. If you have the error for Docker, it might be worth pasting here. |
Here is the error I see after running
ssh connections seem to not work properly. I want to finish post 0.8.0 tasks, so I'm leaving it as-is for now and will resume later on. FWIW, there is a |
We added security scanning for the images shipped for ARM64, but it's currently failing due to the fact Docker is not installed in the runners.
Docker is installable (see the instructions in this issue) but doesn't come installed by default.
Doing this would also check that the latest Docker Desktop is able to load the container image, which also has some value.
One other option is to use colima, which is already installed in the mac runners.
The text was updated successfully, but these errors were encountered: