January-8th-2020, 08:06 AM
Quote:Code:sudo docker run -i -t hilschernetpi/netpi-raspbian /bin/bash
That this is not working is explainable. The "/bin/bash" at the end of your command line does not prevent the container from using the ENTRYPOINT path that is coming with the container and from calling it. The command at the end just overwrites the default CMD of a container if it has any.
Instead you have to change the image entrypoint when you call it on your Raspberry machine like
Code:
sudo docker run -i -t --entrypoint=/bin/bash hilschernetpi/netpi-raspbian
But please do not forget since now the startscript is no more called the container has not started the ssh server yet in this case.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)