Add a separate docker-init binary
This may be used for the .dockerinit case if the main binary is not statically linked. Upstream-commit: 250bc3f61547c6bcdc17ffe41e8a9a0307099cc3 Component: engine
This commit is contained in:
committed by
Victor Vieux
parent
167815c85c
commit
e6cab9d688
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user