Skip to content

[Revert #26825] cli: remove --mount from docker run#28838

Merged
LK4D4 merged 1 commit intomoby:masterfrom
AkihiroSuda:remove-run-mount
Nov 30, 2016
Merged

[Revert #26825] cli: remove --mount from docker run#28838
LK4D4 merged 1 commit intomoby:masterfrom
AkihiroSuda:remove-run-mount

Conversation

@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Nov 25, 2016

Note: This PR was merged again for docker 17.05 in #32251

- What I did
This commit reverts 273eeb8 (#26825).

For the discussion so far, please refer to #28527.

  • Secrets: accept src as a short name for the source argument.
  • Ports: remove --port and have --publish support the long syntax
  • Mounts: deprecate --mount (maybe remove it from run immediately) and have --volume support the long syntax.

- How I did it

removed --mount from runconfig/opts

- How to verify it

Observe the CI

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

penguins

Signed-off-by: Akihiro Suda [email protected]

@AkihiroSuda
Copy link
Member Author

cc @icecrime @thaJeztah

@AkihiroSuda AkihiroSuda changed the title cli: remove --mount from docker run [Revert #26825] cli: remove --mount from docker run Nov 25, 2016
@thaJeztah thaJeztah added this to the 1.13.0 milestone Nov 25, 2016
@thaJeztah
Copy link
Member

LGTM (if green). Thanks so much @AkihiroSuda

@justincormack
Copy link
Contributor

Sorry is the plan to do a long syntax version of --volume for 1.13?

This commit reverts 273eeb8 (moby#26825).
For the discussion so far, please refer to moby#28527.

Signed-off-by: Akihiro Suda <[email protected]>
@icecrime
Copy link
Contributor

@justincormack I don't think it'll make it for 1.13 😞 See this comment for a summary.

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😓

@LK4D4
Copy link
Contributor

LK4D4 commented Nov 30, 2016

This has two lgtms and green.

@stevvooe
Copy link
Contributor

Could we please un-remove this? The --mount flag really opened up a lot of possibilities for us and removing it is a HUGE step back.

Even worse, it looks like all these decisions were made over the thanksgiving holiday.

@thaJeztah
Copy link
Member

@stevvooe I think the discussion is still open; main reason for reverting it is to keep all options open; would be good to look at it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants