TritonDataCenter / sdc-docker

Docker Engine for Triton
Mozilla Public License 2.0
182 stars 49 forks source link

Add Docker label for which network -P exposes to #104

Closed Smithx10 closed 1 year ago

Smithx10 commented 7 years ago

I've noticed a trend in #smartos that users have started wanting to be able to specify which non fabric network -p exposes to.

Scenario:

The users usually have the external network and another network they have created, in this example lets just say dmz. They would love to be able to specify which network they expose certain ports to.
For example:

docker run -d --labels triton.publishnetwork=dmz -p 80:80 443:443 image

KrisShannon commented 7 years ago

This is fixed with DOCKER-1020 which was commited in 15e6923259a63e0a59f52eaed60282df8fc013cf

(Label is triton.network.public)

travispaul commented 1 year ago

Since this has been resolved and a fix has been merged in I'll go ahead and close this issue.