mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Merge pull request #988 from docker/feat-platform
Add platform when running containers
This commit is contained in:
commit
4270f383a7
11 changed files with 153 additions and 100 deletions
|
|
@ -21,6 +21,7 @@ import (
|
|||
"io"
|
||||
|
||||
"github.com/compose-spec/compose-go/types"
|
||||
specs "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
|
||||
"github.com/docker/compose-cli/formatter"
|
||||
)
|
||||
|
|
@ -114,6 +115,8 @@ type ContainerConfig struct {
|
|||
AutoRemove bool
|
||||
// Healthcheck contains the command and interval of the checks
|
||||
Healthcheck Healthcheck
|
||||
// Platform contains the platform information
|
||||
Platform *specs.Platform
|
||||
}
|
||||
|
||||
// Healthcheck defines the configuration of a healthcheck
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue