From 2275c83358986c9f612ebb1915c5d3392319f1f8 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Mon, 3 Mar 2014 17:35:40 +1000 Subject: [PATCH] make the port mapping deprecation error message more obvious see 4075 Docker-DCO-1.1-Signed-off-by: Sven Dowideit (github: SvenDowideit) --- runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime.go b/runtime.go index 846b47d04e..bfc7ab878b 100644 --- a/runtime.go +++ b/runtime.go @@ -363,7 +363,7 @@ func (runtime *Runtime) Create(config *runconfig.Config, name string) (*Containe warnings := []string{} if checkDeprecatedExpose(img.Config) || checkDeprecatedExpose(config) { - warnings = append(warnings, "The mapping to public ports on your host has been deprecated. Use -p to publish the ports.") + warnings = append(warnings, "The mapping to public ports on your host via Dockerfile EXPOSE (host:port:port) has been deprecated. Use -p to publish the ports.") } if img.Config != nil {