Hi. I have docker on my MacBook air 15 M2 and inside I have a container with DNS. For this container, I need port 53 for TCP and UDP. After the update, I can't run this container anymore. Looks like some system demon of macOS use this port and does not allow other application to use it.. How to fix it?
Hi - there is a workaround documented for this in the latest Docker release notes, which I found after updating to the latest Docker. I'm on an M2-Mac and changing the property in docker settings worked immediately. Note that although it says to 'add' the config line in the release notes, the config line is already there, and in my case I just had to change the property from true to false and it worked.
Known Issues: For Mac
Creating a container with the port 53 fails with the error address already in use. As a workaround, deactivate network acceleration by adding
"kernelForUDP": false,
in the settings.json file located at ~/Library/Group Containers/group.com.docker/settings.json_
Source: https:// docs.docker.com/desktop/release-notes/#known-issues (apple won't let me post the actual link... take out the spaces and you can navigate there)