Skip to content

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

@philiiiiiipp

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions