This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Commit aeec1f7
committed
Reverse order of long-form ports
Reverses the order long-form port options when converted to short-form
to correctly match the documentation and `docker service create`.
Post change `-p published=8111,target=8112` is the equivalent of
`8111:8112`
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
(cherry picked from commit 154a1f6df8f3ce65f980b47bb4a4ff8c41c4c5c0)
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
Upstream-commit: 813cc7ed9c086af2ff6dee8c5b2ca5a15e80451a
Component: cli1 parent 3a9fa3f commit aeec1f7
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
0 commit comments