centos-baseimage
centos-baseimage copied to clipboard
A Docker baseimage, very much in the same vein as Phusion's excellent https://github.com/phusion/baseimage-docker, but for Centos
as for default `authorized_keys`, IMHO, it's better to left it blank or use $HOME/.ssh/id_rsa.pub as the default pub key. ``` bash bash-4.1# cat authorized_keys ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQF3Tkg6Qj+mjQ9PtwE+A+vYHxhhgFmoi3t1voWZBgsIhu5RpM2/qhL13b2d5pzXT7YVeGQ8S6OUYb0Y989YEzvid08wFfBrdHY62D5CGbrBrkFIV9QJjkE/7N6GtwkQRQZgY2airJKZxwOyPlJesRGicUUTQQ7Icg1kRB0QQu99rOLbUCSV50de3NYL9+gs22kFOlKOajTqm05nf7F7+sDPyogZjdbASUUA0KDxegmQykMsZEkqSHbhSc4bZYG1HXxQYjwQCK/TZJ+Voc6y7xBOJbS95jnlRSQk5yppoW8rT3b7O/4gKd2RnZQoemCVf1qUJ114O82SX0xip/lnjd core@localhost ```
This is because runit doesn't respond to the TERM signal that docker sends the leading process. docker eventually times out, and sends a KILL that does the job.
It might be useful to tail /var/log/messages, or something else sensible