mirror of https://github.com/docker/docs.git
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:
parent
2b1dc8a8a3
commit
250bc3f615
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue