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
46.45k stars 2.5k forks source link

permission #301

Open alicera opened 3 years ago

alicera commented 3 years ago

''' Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json: dial unix /var/run/docker.sock: connect: permission denied ''' ''' ssh: connect to host 127.0.0.1 port 10022: Connection refused Disk is being copied between layers. Repeating until able to copy SSH key into OSX... /usr/sbin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/arch/.ssh/id_docker_osx.pub" ssh: connect to host 127.0.0.1 port 10022: Connection refused Disk is being copied between layers. Repeating until able to copy SSH key into OSX... ^CDisk is being copied between layers. Repeating until able to copy SSH key into OSX... '''

how to solve it ? I already use it. https://github.com/sickcodes/Docker-OSX#confirm-your-user-is-part-of-the-the-docker-group-kvm-group-libvirt-group

sickcodes commented 3 years ago

This takes 2-5 minutes to copy the 20GB layer, what disk are you using?

sickcodes commented 3 years ago

The output changes from Docker 19.04 and Docker 20.X but it still takes a minute or two

You can watch you disk fill up, check watch df

idzikovski commented 3 years ago

Hi! I am having the exact same issue... I ran watch df and I do see changes but everything is moving really slow. Like I left this running overnight with no significant progress (It says it should take a few minutes)

sickcodes commented 3 years ago

Hi! I am having the exact same issue... I ran watch df and I do see changes but everything is moving really slow. Like I left this running overnight with no significant progress (It says it should take a few minutes)

Can you create a new issue with the output from this command and Ill happily help :)

https://github.com/sickcodes/Docker-OSX/issues/new?assignees=&labels=&template=issue-running-docker-osx.md&title=