1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add a separate docker-init binary

This may be used for the .dockerinit case if the main binary is not
statically linked.
This commit is contained in:
Alexander Larsson 2013-09-10 20:15:23 +02:00 committed by Victor Vieux
parent 2b1dc8a8a3
commit 250bc3f615

View file

@ -0,0 +1,16 @@
package main
import (
"github.com/dotcloud/docker"
)
var (
GITCOMMIT string
VERSION string
)
func main() {
// Running in init mode
docker.SysInit()
return
}