Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make docker update support port management as well #21282

Open
notpushkin opened this issue Mar 17, 2016 · 8 comments
Open

Make docker update support port management as well #21282

notpushkin opened this issue Mar 17, 2016 · 8 comments
Labels
area/networking kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny

Comments

@notpushkin
Copy link

This was the most wanted use case in #3285. Something like:

docker update -p 80:8080 --rm-port 1234 containername
docker update -P anothercontainer # expose all unexposed ports

would do.

See the original issue for the rationale.

@programmerq programmerq added kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny area/networking labels Mar 18, 2016
@sqleejan
Copy link

I also need this future

@GordonTheTurtle
Copy link

USER POLL

The best way to get notified of updates is to use the Subscribe button on this page.

Please don't use "+1" or "I have this too" comments on issues. We automatically
collect those comments to keep the thread short.

The people listed below have upvoted this issue by leaving a +1 comment:

@danpopHP

@SimoneTaliercio
Copy link

+1 It would be great to be able to change configuration on a running container!

@eromoe
Copy link

eromoe commented Aug 24, 2016

Except cpu, mem and port map. I wish below can be change too:

-e 'EXCLUDE_PORTS=5000,23333,24444'
--expose '25555'
--log-driver=syslog
--log-opt syslog-address=udp://localhost:514 \

@drinktee
Copy link

I also need this feature. I want to expose a host port when the container is existing

@rmoriz
Copy link
Contributor

rmoriz commented Sep 10, 2016

Until docker can apply those changes without killing and recreating a container, maybe an "-R" option can be implemented to docker update just as a wrapper for those action.

This would allow us to already use docker update (as an API) even while it's not yet "feature complete". Currently it's ugly to have some things that require a kill/rm/run but other things that can be changed using update already (different code paths).

@HorvathAkosPeter
Copy link

It is a catastrophe, that you couldn't develop this trivial feature long ago.

@jlmenut
Copy link

jlmenut commented Nov 12, 2017

It's surprising that a so obvious functionality is not already present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny
Projects
None yet
Development

No branches or pull requests

10 participants