Not copying to disk on Windows AMD #477

Closed
opened 2025-12-29 01:19:38 +01:00 by adam · 1 comment
Owner

Originally created by @ThomasW2005 on GitHub (Feb 14, 2023).

At the end it just hangs at

"/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...

and does this forever. Please help me haha

Ran this in WSL:

thomas@thomas-pc ~ » uname -a \
; echo "${DISPLAY}" \
; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \
; grep NAME /etc/os-release \
; df -h . \
; qemu-system-x86_64 --version \
; libvirtd --version \
; free -mh \
; nproc \
; egrep -c '(svm|vmx)' /proc/cpuinfo \
; ls -lha /dev/kvm \
; ls -lha /tmp/.X11-unix/ \
; ps aux | grep dockerd \
; docker ps | grep osx \
; grep "docker\|kvm\|virt" /etc/group
Linux thomas-pc 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
:0
1
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc       1007G  2.3G  954G   1% /
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.6)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 8.0.0
               total        used        free      shared  buff/cache   available
Mem:           7.7Gi       1.0Gi       205Mi       5.0Mi       6.5Gi       6.4Gi
Swap:          2.0Gi       1.0Mi       2.0Gi
12
12
crw-rw-rw- 1 root root 10, 232 Feb 14 19:36 /dev/kvm
total 4.0K
drwxrwxrwx 2 root   root     60 Feb 14 19:38 .
drwxrwxrwt 3 root   root   4.0K Feb 14 19:30 ..
srwxrwxrwx 1 thomas thomas    0 Feb 14 19:38 X0
thomas     349  0.0  0.0   9208  2324 pts/0    S+   19:51   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
kvm:x:109:
docker:x:1001:thomas

Output from running the Image: https://pastebin.com/Q1b1bX43

Originally created by @ThomasW2005 on GitHub (Feb 14, 2023). At the end it just hangs at ``` "/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... ``` and does this forever. Please help me haha Ran this in WSL: ``` thomas@thomas-pc ~ » uname -a \ ; echo "${DISPLAY}" \ ; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \ ; grep NAME /etc/os-release \ ; df -h . \ ; qemu-system-x86_64 --version \ ; libvirtd --version \ ; free -mh \ ; nproc \ ; egrep -c '(svm|vmx)' /proc/cpuinfo \ ; ls -lha /dev/kvm \ ; ls -lha /tmp/.X11-unix/ \ ; ps aux | grep dockerd \ ; docker ps | grep osx \ ; grep "docker\|kvm\|virt" /etc/group Linux thomas-pc 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux :0 1 PRETTY_NAME="Ubuntu 22.04.1 LTS" NAME="Ubuntu" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy Filesystem Size Used Avail Use% Mounted on /dev/sdc 1007G 2.3G 954G 1% / QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.6) Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers libvirtd (libvirt) 8.0.0 total used free shared buff/cache available Mem: 7.7Gi 1.0Gi 205Mi 5.0Mi 6.5Gi 6.4Gi Swap: 2.0Gi 1.0Mi 2.0Gi 12 12 crw-rw-rw- 1 root root 10, 232 Feb 14 19:36 /dev/kvm total 4.0K drwxrwxrwx 2 root root 60 Feb 14 19:38 . drwxrwxrwt 3 root root 4.0K Feb 14 19:30 .. srwxrwxrwx 1 thomas thomas 0 Feb 14 19:38 X0 thomas 349 0.0 0.0 9208 2324 pts/0 S+ 19:51 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd kvm:x:109: docker:x:1001:thomas ``` Output from running the Image: https://pastebin.com/Q1b1bX43
adam closed this issue 2025-12-29 01:19:38 +01:00
Author
Owner

@ThomasW2005 commented on GitHub (Feb 14, 2023):

Bruh i just launched the command in wsl and not powershell and its working i feel like an idiot

@ThomasW2005 commented on GitHub (Feb 14, 2023): Bruh i just launched the command in wsl and not powershell and its working i feel like an idiot
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#477