| ... | ... |
@@ -1119,7 +1119,7 @@ func (container *Container) releaseNetwork() {
|
| 1119 | 1119 |
container.NetworkSettings = &NetworkSettings{}
|
| 1120 | 1120 |
} |
| 1121 | 1121 |
|
| 1122 |
-// FIXME: replace this with a control socket within docker-init |
|
| 1122 |
+// FIXME: replace this with a control socket within dockerinit |
|
| 1123 | 1123 |
func (container *Container) waitLxc() error {
|
| 1124 | 1124 |
for {
|
| 1125 | 1125 |
output, err := exec.Command("lxc-info", "-n", container.ID).CombinedOutput()
|
| ... | ... |
@@ -94,7 +94,7 @@ lxc.mount.entry = devpts {{$ROOTFS}}/dev/pts devpts newinstance,ptmxmode=0666,no
|
| 94 | 94 |
#lxc.mount.entry = varlock {{$ROOTFS}}/var/lock tmpfs size=1024k,nosuid,nodev,noexec 0 0
|
| 95 | 95 |
lxc.mount.entry = shm {{$ROOTFS}}/dev/shm tmpfs size=65536k,nosuid,nodev,noexec 0 0
|
| 96 | 96 |
|
| 97 |
-# Inject docker-init |
|
| 97 |
+# Inject dockerinit |
|
| 98 | 98 |
lxc.mount.entry = {{.SysInitPath}} {{$ROOTFS}}/.dockerinit none bind,ro 0 0
|
| 99 | 99 |
|
| 100 | 100 |
# In order to get a working DNS environment, mount bind (ro) the host's /etc/resolv.conf into the container |
| ... | ... |
@@ -97,7 +97,7 @@ func executeProgram(name string, args []string) {
|
| 97 | 97 |
// up the environment before running the actual process |
| 98 | 98 |
func SysInit() {
|
| 99 | 99 |
if len(os.Args) <= 1 {
|
| 100 |
- fmt.Println("You should not invoke docker-init manually")
|
|
| 100 |
+ fmt.Println("You should not invoke dockerinit manually")
|
|
| 101 | 101 |
os.Exit(1) |
| 102 | 102 |
} |
| 103 | 103 |
var u = flag.String("u", "", "username or uid")
|