sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
36.13k stars 1.78k forks source link

failed to create endpoint sweet_joliot on network bridge #176

Open leknoppix opened 3 years ago

leknoppix commented 3 years ago

Hello, I have found this project and I want to try it!

uname -a Linux luminex-arch 5.11.4-arch1-1 #1 SMP PREEMPT Sun, 07 Mar 2021 18:00:49 +0000 x86_64 GNU/Linux ; echo "${DISPLAY}" :0 ; grep NAME /etc/os-release

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"

; df -h .

Sys. de fichiers Type Inœuds IUtil. ILibre IUti% Monté sur
/dev/sdb4        ext4    28M   1,3M    27M    5% /home
total            -       28M   1,3M    27M    5% -

; qemu-system-x86_64 --version not installed ; libvirtd --version not installed ; free -mh ; nproc 4 ; egrep -c '(svm|vmx)' /proc/cpuinfo 8 ; ls -lha /dev/kvm crw-rw-rw- 1 root kvm 10, 232 11 mars 18:50 /dev/kvm ; ls -lha /tmp/.X11-unix/

total 0
drwxrwxrwt  2 root root  60  9 mars  22:37 ./
drwxrwxrwt 22 root root 660 11 mars  19:14 ../
srwxrwxrwx  1 root root   0  9 mars  22:37 X0=

; ps aux | grep dockerd

leknopp+   17791  0.0  0.0   6420  2436 pts/0    S+   19:38   0:00          |       |   \_ grep --color=auto dockerd
root         753  5.3  0.6 2342272 74924 ?       Ssl  18:21   4:08 /usr/bin/dockerd -H fd://

; docker ps | grep osx Empty ; grep "docker|kvm|virt" /etc/group

kvm:x:992:
libvirt:x:976:
docker:x:957:leknoppix

But I have this error:

Status: Downloaded newer image for sickcodes/docker-osx:latest
docker: Error response from daemon: failed to create endpoint sweet_joliot on network bridge: failed to add the host (veth962856f) <=> sandbox (veth2bd917f) pair interfaces: operation not supported.
ERRO[0240] error waiting for container: context canceled 

Can anyone help Thanks

sickcodes commented 3 years ago

Sounds like your docker is misconfigured and a permissions error. Reinstall Docker, and or add yourself to the docker group, libvirt group and kvm group.