March-9th-2021, 08:28 AM
(March-9th-2021, 08:19 AM)Armin@netPI Wrote: Hello Walter,
yes what you see is 100% correct and intended.
Since the "programming example" container shall only show customers how to program the netX chip it does not need any specific start script where usually a lot of processes are started.
This is why I decided not to implement any start script but just starting the SSH daemon as one any only thread using this construct:
ENTRYPOINT ["/usr/sbin/sshd", "-D"]
So there is an entrypoint defined ... but instead of starting a script it starts a single application SSH with the option "-D" to start it as background service. This is all you need. No additional enterypoint script is necessary at all.
Thx
Armin
Armin, I want to use your image and want to add my application to startup.
Is my sequence correct, or there is a shoter way to implement my task?