Lichee Pi Nano Docker image - how to run it?


Hi, I’m trying to run the development env using docker image provided by zepan.
I’m using this guide to setup everything:
Unfortunately, I’m getting “sshd missing” errors when I try to run the image.

I’m starting the container via this command:
docker run -d -p 6666:22 zepan/licheepi-nano:1.0.0 /usr/sbin/sshd -D

Full error log:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused “exec: “/usr/sbin/sshd”: stat /usr/sbin/sshd: no such file or directory”: unknown.

I’m using latest Docker (18.06.1-ce). Looks like the sshd is missing on the container. Or maybe it’s because the docker’s API changes? Tutorial uses 4 years old docker instance.

Any ideas or tips about how to run that docker image are highly appreciated :wink:


Hey bro, you might need to check the path of your local ssh client, or just reinstall the sshd by sudo apt-get install sshd ; sudo service sshd start :wink:


Hi, thx for response. Unfortunately it looks like the sshd is missing on the container.

I’ve tried to somehow run the container to debug it and maybe fix, but I couldn’t find a way to do it. Also docker image have all layers merged together, so “docker history” returns nothing useful.