Skip to content

docker run --restart=failure should be --restart=on-failure  #5516

Description

@philiiiiiipp

File: engine/reference/commandline/run.md, CC @MistyHacks

Under Restart policies (–restart) it says no, failure and always. Looking at the linked page https://docs.docker.com/engine/reference/run/#restart-policies-restart it should not be failure but on-failure[:max-retries] and another option unless-stopped is also available.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions