diff --git a/runtime.go b/runtime.go index 846b47d04e0543fa61c435effd0d2055b1352283..bfc7ab878bca6d6277732be95c41234b4be93367 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 {