Hi All,

In Docker file i have entry point  ENTRYPOINT ["/usr/sbin/sshd", "-D"]
I want to run run some command (eg : mkdir /tmp/test ) while staring
the container, since you add command in
configuration your default entry point wont work, so I added command
like "/usr/sbin/sshd -D && mkdir /tmp/test "
with the expectation both ssh start and mkdir will be executed while
strating the contanier.

Unfortunately mkdir command not executing but ssh works fine, not sure
command i provided worked itself
or container started with entry point provided in docker file

Any help ?


Regards,
Rayees

Reply via email to