mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 05:01:28 +00: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:
committed by
Tianon Gravi
parent
7fb3bfed03
commit
b8dc7b5f1a
@@ -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