mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Add resource reservations to container inspect
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
b1edfb6507
commit
6516632ecf
8 changed files with 103 additions and 34 deletions
|
|
@ -61,9 +61,11 @@ type RuntimeConfig struct {
|
|||
|
||||
// HostConfig config of the container host
|
||||
type HostConfig struct {
|
||||
RestartPolicy string
|
||||
CPULimit float64
|
||||
MemoryLimit uint64
|
||||
RestartPolicy string
|
||||
CPUReservation float64
|
||||
CPULimit float64
|
||||
MemoryReservation uint64
|
||||
MemoryLimit uint64
|
||||
}
|
||||
|
||||
// Port represents a published port of a container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue