sshpass command not found #372

Closed
opened 2025-12-29 00:25:34 +01:00 by adam · 5 comments
Owner

Originally created by @shashank2086 on GitHub (Jun 14, 2022).

I have successfully builded the naked auto image but when i am to trying to run the image i am getting this error.

Disk is being copied between layers. Repeating until able to copy SSH key into OSX...
/bin/bash: line 1: sshpass: command not found

Originally created by @shashank2086 on GitHub (Jun 14, 2022). I have successfully builded the naked auto image but when i am to trying to run the image i am getting this error. Disk is being copied between layers. Repeating until able to copy SSH key into OSX... /bin/bash: line 1: sshpass: command not found
adam closed this issue 2025-12-29 00:25:34 +01:00
Author
Owner

@hassinetouil commented on GitHub (Jul 6, 2022):

I have successfully builded the naked auto image but when i am to trying to run the image i am getting this error.

Disk is being copied between layers. Repeating until able to copy SSH key into OSX... /bin/bash: line 1: sshpass: command not found

i have the same issue can you tell me how you solve it ?

@hassinetouil commented on GitHub (Jul 6, 2022): > I have successfully builded the naked auto image but when i am to trying to run the image i am getting this error. > > Disk is being copied between layers. Repeating until able to copy SSH key into OSX... /bin/bash: line 1: sshpass: command not found i have the same issue can you tell me how you solve it ?
Author
Owner

@apagac2 commented on GitHub (Jul 15, 2022):

If you are copying snippets from readme, this issue could happen here: https://github.com/sickcodes/Docker-OSX#use-your-own-image-and-manually-and-automatically-log-into-a-shell

The image is missing file extension. This is how it should look like:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v "${PWD}/mac_hdd_ng_auto_monterey.img:/image" \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e "USERNAME=user" \
    -e "PASSWORD=alpine" \
    -e GENERATE_UNIQUE=true \
    -e MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist \
    sickcodes/docker-osx:naked-auto

The difference being the .img here: -v "${PWD}/mac_hdd_ng_auto_monterey.img:/image"

@apagac2 commented on GitHub (Jul 15, 2022): If you are copying snippets from readme, this issue could happen here: https://github.com/sickcodes/Docker-OSX#use-your-own-image-and-manually-and-automatically-log-into-a-shell The image is missing file extension. This is how it should look like: ``` docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v "${PWD}/mac_hdd_ng_auto_monterey.img:/image" \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e "USERNAME=user" \ -e "PASSWORD=alpine" \ -e GENERATE_UNIQUE=true \ -e MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist \ sickcodes/docker-osx:naked-auto ``` The difference being the **.img** here: `-v "${PWD}/mac_hdd_ng_auto_monterey.img:/image"`
Author
Owner

@Nolij commented on GitHub (Aug 2, 2022):

I am still encountering this issue even using the modified command.

@Nolij commented on GitHub (Aug 2, 2022): I am still encountering this issue even using the modified command.
Author
Owner

@whytewolf commented on GitHub (Aug 15, 2022):

I'm seeing this error also. and the "fix" didn't change anything. I even trying listing directly where the file was located instead of using PWD. still no go.

@whytewolf commented on GitHub (Aug 15, 2022): I'm seeing this error also. and the "fix" didn't change anything. I even trying listing directly where the file was located instead of using PWD. still no go.
Author
Owner

@BonifacioCalindoro commented on GitHub (Aug 27, 2022):

Same issue here. the fix didn't work.

@BonifacioCalindoro commented on GitHub (Aug 27, 2022): Same issue here. the fix didn't work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#372