Monday, 29 November 2021

What's the Difference Between Exposing and Publishing a Docker Port?


Exposed and Published container ports are two different but related concepts in Docker. Exposed ports are defined in your Dockerfile as simple metadata. You must publish them when your container starts if you want to enable outside access.

Read This Article on CloudSavvy IT ›



from How-To Geek https://ift.tt/32JCFN9

No comments:

Post a Comment