mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
12 lines
343 B
Go
12 lines
343 B
Go
package containers
|
|
|
|
const (
|
|
// RestartPolicyAny Always restarts
|
|
RestartPolicyAny = "any"
|
|
// RestartPolicyNone Never restarts
|
|
// "no" is the value for docker run, "none" is the value in compose file (and default differ
|
|
RestartPolicyNone = "none"
|
|
// RestartPolicyOnFailure Restarts only on failure
|
|
RestartPolicyOnFailure = "on-failure"
|
|
)
|