forked from tilde/ssh-reg
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Darksider3
3ae497e2eb
Right now the container can't stop gracefully because the sshd-server runs on the server as PID 0. This results in the docker daemon not killing it but waiting for it to die, which never happens, and results in the default timeout-wait before it KILLS the process. With exec, the sshd becomes PID 1 and can receive and process signals(probably SIGTERM here) and handles them as well. The container stops now nearly instantly.. |
5 years ago | |
---|---|---|
config | 5 years ago | |
private | 5 years ago | |
public | 5 years ago | |
.gitignore | 5 years ago | |
Dockerfile | 5 years ago |