added docker sandbox, work in progress

This commit is contained in:
2016-04-08 04:33:24 +02:00
parent 5a6f30ec0f
commit 8bba66dfa7
6 changed files with 141 additions and 0 deletions

9
sandbox/my_init Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
export > /etc/environment
/usr/sbin/runsvdir-start &
sleep 1
if [[ ! -e /var/log/syslog ]]; then
touch /var/log/syslog
fi
exec tail -qf /var/log/syslog /etc/service/*/log/*.log