Skip to content

Run docker system prune on all nodes in Docker Swarm #31254

@lsapan

Description

@lsapan

Currently we have to SSH into each node and run docker system prune to clean up old images / data. This seems fairly impractical for large swarms. It would be great to have command that can be run from the leader that instructs all the other nodes to clean up old data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/swarmkind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shiny

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions