Skip to content

Would be nice to have a docker stack deploy --dry-run option #53

Open

Description

@hairyhenderson

Because it's not always obvious what state an existing stack is in when a docker stack deploy command is issued, it would be useful to be able to see a plan of action before it's executed to prevent surprises.

I'm proposing --dry-run as the option name.

Activity

  1. hairyhenderson commented on May 9, 2017

    @hairyhenderson
    ContributorAuthor

    Looks like this was already proposed in moby/moby#32365 though I'm not sure where the issue should reside with all the repo-shuffling that's going on 😉

  2. netflash commented on Nov 22, 2017

    @netflash

    Are there any chances to see this live ?

  3. immerrr commented on Apr 11, 2018

    @immerrr

    FTR, the issue in moby repository is closed in favour of this one.

  4. 00dav00 commented on May 25, 2018

    @00dav00

    Any updates on this one? It would be a very useful option.

  5. added a commit that references this issue on Sep 20, 2018
  6. bcsgh commented on Nov 25, 2020

    @bcsgh

    And now for the roughly annual update where someone says they would also find this useful. :-(

  7. haraldfw commented on Sep 21, 2021

    @haraldfw

    I would also find this very helpful

  8. Re4zOon commented on Jan 11, 2022

    @Re4zOon

    Just to have the annual update: I would also find this helpful.

  9. josteinaj commented on Aug 31, 2023

    @josteinaj

    I would also find this very helpful!

    The important thing I want to know is which services will be updated. I don't need a detailed diff or anything.

  10. frizzr commented on Oct 12, 2024

    @frizzr

    I will add to the chorus that having a --dry-run option would be incredibly useful.

  11. added a commit that references this issue on Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions