March-9th-2021, 08:19 AM
(This post was last modified: March-9th-2021, 08:22 AM by Armin@netPI.)
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
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
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)