1
0
mirror of https://github.com/rancher/os.git synced 2025-08-25 17:59:17 +00:00

add syslog container

This commit is contained in:
sidharthamani 2015-02-19 12:59:13 -08:00
parent 81e15fc46f
commit ecbc0b9a05
3 changed files with 15 additions and 0 deletions

View File

@ -105,6 +105,13 @@ func NewConfig() *Config {
"--pid=host " +
"console",
},
{
Cmd: "--name=syslog " +
"-d " +
"--privileged " +
"--net=host " +
"syslog",
},
},
RescueContainer: &ContainerConfig{
Cmd: "--name=rescue " +

View File

@ -0,0 +1,3 @@
FROM console
COPY scripts/dockerimages/scripts/syslog.sh /
CMD ["/syslog.sh"]

View File

@ -0,0 +1,5 @@
#!bin/bash
set -x -e
exec syslogd -n