meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.28k stars 681 forks source link

Selecting Docker image ssh fail #1139

Open emv412 opened 5 years ago

emv412 commented 5 years ago

Hello,

When I select the Docker option with SSH option enabled everything configures without issues. Although when I try to start Linux it shows me an error: Starting extra/ssh... fail When I turn off the SSH option it starts fine, but I can't access the container.

Device is running Android 4.4.2, x86 architecture. Thanks in advance.

ElXreno commented 5 years ago

Try to run a container with ssh. How I know, default container with ubuntu doesn't have ssh.

emv412 commented 5 years ago

I exported the Docker image without ssh installed to tar.gz via the export option, and imported it in Docker on PC, installed openssh-server, fakechroot and proot. After that I restored that image on the phone, but still the same message appears, it seems it can't run /usr/sbin/sshd for unknown reason, everything else runs fine.

shynome commented 4 years ago

I have the same problem

I think this docker option just run a docker image, not docker server