Mount shared/logs/var-log to /var/log

This commit is contained in:
Shuai Lin 2016-11-12 13:27:24 +08:00
parent 10eb0b82dc
commit ad97dd85c1
3 changed files with 3 additions and 2 deletions

4
.gitignore vendored
View file

@ -4,5 +4,5 @@
.DS_Store .DS_Store
*.pyc *.pyc
bootstrap/ bootstrap/*
shared/ shared/*

View file

@ -37,6 +37,7 @@ set_volumes() {
mounts=( mounts=(
$sharedir:/shared $sharedir:/shared
$sharedir/logs/var-log:/var/log
$dockerdir/bootstrap:/bootstrap:ro $dockerdir/bootstrap:/bootstrap:ro
$dockerdir/scripts:/scripts:ro $dockerdir/scripts:/scripts:ro
$dockerdir/scripts/tmp/check_init_admin.py:$installdir/check_init_admin.py:ro $dockerdir/scripts/tmp/check_init_admin.py:$installdir/check_init_admin.py:ro