You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EXPOSE instruction does not actually publish the port. It functions as a type of documentation between the person who builds the image and the person who runs the container, about which ports are intended to be published.
The decision what port to use is supposed to be made by the images that use this image as their parent. If the child image wants to expose only port 443, no need to expose 80 in this image, that will only lead to confusion.
https://github.com/bu-ist/apache-shib-sp/blob/master/Dockerfile#L44
The text was updated successfully, but these errors were encountered: