-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Issue with MacOS example #3955
Comments
Good point. The To be fair, that We may just need to remove the example. |
Hi @deitch thanks you for your answer. I'm block by the networking restrictions on the original version. I would like to made direct bridge between interface of MacOS and interface of linux Kit. So that impossible ?? My goal is to use IPVLAN to give IP from my LAN to my container: Impossible ? 🥲 That lock a lot of potential of docker networking. |
You could do You are looking for something in the middle: each container is on the host network, but gets its own IP, hence IPVLAN. However, even if docker supported it, I do not think that the docker VM even sits on the host network. When you do I don't think you can get this out of docker as it is configured today. It just isn't one of the docker options. If you work at a lower level, you could:
You probably could build something like that using linuxkit, but it isn't just a slight modification of |
Host mode didn't work on Mac M1.. So that not possible. |
Oh you are right. I wasn't thinking about that, even as I wrote above about the differing network stack. |
Description
I'm getting an error by following an example on Mac M1.
Steps to reproduce the issue:
https://github.com/linuxkit/linuxkit/blob/master/examples/docker-for-mac.md
In the first place, I have needed to modify the first original command by adding
-arch amd64
, so the example need an update.Describe the results you received:
There is an issue when I execute this command :
linuxkit run hyperkit --networking=vpnkit --vsock-ports=2376 --disk size=4096M --data-file ./metadata.json --iso --uefi docker-for-mac-efi
ISSUE :
Error: Cannot open UEFI firmware file (/Applications/Docker.app/Contents/Resources/uefi/UEFI.fd): stat /Applications/Docker.app/Contents/Resources/uefi/UEFI.fd: no such file or directory 2023/11/09 18:56:09 error during command execution: Cannot open UEFI firmware file (/Applications/Docker.app/Contents/Resources/uefi/UEFI.fd): stat /Applications/Docker.app/Contents/Resources/uefi/UEFI.fd: no such file or directory
And there is no information about using this example on Mac M1.
Describe the results you expected:
Be able to follow this example on any MacOS device, intel and Apple Silicon.
The text was updated successfully, but these errors were encountered: