1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Run user docker with a configurable storage context

This commit is contained in:
Darren Shepherd
2015-08-27 01:58:45 -07:00
parent d46e9530b9
commit ab6eb58167
8 changed files with 337 additions and 23 deletions

View File

@@ -14,6 +14,7 @@ import (
"github.com/rancherio/os/cmd/respawn"
"github.com/rancherio/os/cmd/sysinit"
"github.com/rancherio/os/cmd/systemdocker"
"github.com/rancherio/os/cmd/userdocker"
"github.com/rancherio/os/cmd/wait"
"github.com/rancherio/os/config"
osInit "github.com/rancherio/os/init"
@@ -41,6 +42,7 @@ func main() {
registerCmd("/init", osInit.MainInit)
registerCmd(config.SYSINIT_BIN, sysinit.Main)
registerCmd("/usr/bin/dockerlaunch", dockerlaunchMain.Main)
registerCmd("/usr/bin/user-docker", userdocker.Main)
registerCmd("/usr/bin/system-docker", systemdocker.Main)
registerCmd("/sbin/poweroff", power.PowerOff)
registerCmd("/sbin/reboot", power.Reboot)