From 3f089980e454b2a29cac1137eccec15c27f522b4 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sun, 8 Nov 2015 18:05:34 +0000 Subject: [PATCH] Fix typo in error message Signed-off-by: Bryan Boreham (cherry picked from commit 93405dd037ffb54e7e72d9d36be4a16d1d76fa50) --- daemon/container_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/container_unix.go b/daemon/container_unix.go index c2a0c70e9..35e3879d8 100644 --- a/daemon/container_unix.go +++ b/daemon/container_unix.go @@ -229,10 +229,10 @@ func populateCommand(c *Container, env []string) error { ipc.HostIpc = c.hostConfig.IpcMode.IsHost() if ipc.HostIpc { if _, err := os.Stat("/dev/shm"); err != nil { - return fmt.Errorf("/dev/shm is not mounted, but must be for --host=ipc") + return fmt.Errorf("/dev/shm is not mounted, but must be for --ipc=host") } if _, err := os.Stat("/dev/mqueue"); err != nil { - return fmt.Errorf("/dev/mqueue is not mounted, but must be for --host=ipc") + return fmt.Errorf("/dev/mqueue is not mounted, but must be for --ipc=host") } c.ShmPath = "/dev/shm" c.MqueuePath = "/dev/mqueue"