mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
19 lines
291 B
Go
19 lines
291 B
Go
|
package api
|
||
|
|
||
|
import (
|
||
|
"github.com/dotcloud/docker/nat"
|
||
|
"github.com/dotcloud/docker/runconfig"
|
||
|
)
|
||
|
|
||
|
type Container struct {
|
||
|
Config runconfig.Config
|
||
|
HostConfig runconfig.HostConfig
|
||
|
State struct {
|
||
|
Running bool
|
||
|
ExitCode int
|
||
|
}
|
||
|
NetworkSettings struct {
|
||
|
Ports nat.PortMap
|
||
|
}
|
||
|
}
|