mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 22:30:38 +01:00
ssh: connect to host 127.0.0.1 port 10022: Connection refused #369
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 @ZGuQing on GitHub (Jun 7, 2022).
Run multiple containers at the same time, will appear this mistake:
ssh: connect to host 127.0.0.1 port 10022: Connection refused
@csonuryilmaz commented on GitHub (Jun 12, 2022):
Hi @ZGuQing, running multiple containers at the same time requires to set different SSH ports on host.
I'm using both Monterey and Big Sur on my system as guest OS at the same time concurrently. But for Monterey using
50922:10022port mapping and for Big Sur using50923:10022port mapping.@ZGuQing commented on GitHub (Jun 13, 2022):
@csonuryilmaz commented on GitHub (Jun 13, 2022):
Hi @ZGuQing, as far as I understand from log, it does not seem to be SSH port conflict.
Are you using same
.imgdisk file for both containers? (It should be different for each container.)Because according to logs it can't get "write" lock. So one one of the containers is not starting. For this reason we see
10022 connection refusedin logs. Qemu virtual machine is not alive.@ZGuQing commented on GitHub (Jun 13, 2022):
Yes, I used the same
.imgdisk file for both containers, you mean I need to redownload an different.img?@ZGuQing commented on GitHub (Jun 13, 2022):
Thanks for your answer, I copied a .img file and it solved the problem
@VagnerSilva commented on GitHub (Aug 21, 2022):
I solved of the following mode
restart docker
wsl (distro)