mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-13 05:50:27 +01:00
ERRO[0094] error waiting for container: #511
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @freshlesh3 on GitHub (Jul 11, 2023).
I run this command:
docker run -it
--device /dev/kvm
-p 50922:10022
-v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
-e GENERATE_UNIQUE=true
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist'
sickcodes/docker-osx:monterey
The image is pulled and then I get this error:
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:50922 -> 0.0.0.0:0: listen tcp 0.0.0.0:50922: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
I am using windows 11. I have tried using other ports, running docker with sudo. I've reinstalled Docker, and tried resetting to factory to reset my network configuration but nothing seems to work.
@vitoras commented on GitHub (Oct 28, 2023):
Hi, have you found a solution? I'm facing the same issue.
@smshafa commented on GitHub (Nov 22, 2023):
First of all, quit your Docker Desktop, and then
Run CMD or PowerShell as administrator:
net stop winnatnet start winnat@eabugda commented on GitHub (Nov 25, 2023):
This worked for me, thanks!
@jostickquielciat commented on GitHub (Apr 28, 2024):
Works for me too
@xccElephant commented on GitHub (Nov 10, 2024):
Thanks, this works for me!