mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
This fix tries to address the issue raised in 25375 where `service update --publish-add` returns an error if the exact same value is repeated (idempotent). This fix use a map to filter out repeated port configs so that `--publish-add` does not error out. An integration test has been added. This fix fixes 25375. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> (cherry picked from commit b487497cd2d7586fd7e10affdcc514ca6b7884f6) Signed-off-by: Tibor Vass <tibor@docker.com>
This directory contains code pertaining to the Docker API:
-
Used by the docker client when communicating with the docker daemon
-
Used by third party tools wishing to interface with the docker daemon