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.")