container.go 291 B

123456789101112131415161718
  1. package api
  2. import (
  3. "github.com/dotcloud/docker/nat"
  4. "github.com/dotcloud/docker/runconfig"
  5. )
  6. type Container struct {
  7. Config runconfig.Config
  8. HostConfig runconfig.HostConfig
  9. State struct {
  10. Running bool
  11. ExitCode int
  12. }
  13. NetworkSettings struct {
  14. Ports nat.PortMap
  15. }
  16. }