se.marcuslonnberg.scaladocker.remote.models

HostConfig

case class HostConfig(portBindings: Map[Port, Seq[PortBinding]] = ..., publishAllPorts: Boolean = false, links: Seq[ContainerLink] = collection.this.Seq.empty[Nothing], volumeBindings: Seq[VolumeBinding] = collection.this.Seq.empty[Nothing], volumesFrom: Seq[String] = collection.this.Seq.empty[Nothing], devices: Seq[DeviceMapping] = collection.this.Seq.empty[Nothing], readOnlyRootFilesystem: Boolean = false, dnsServers: Seq[String] = collection.this.Seq.empty[Nothing], dnsSearchDomains: Seq[String] = collection.this.Seq.empty[Nothing], networkMode: Option[String] = scala.None, privileged: Boolean = false, capabilities: LinuxCapabilities = ..., restartPolicy: RestartPolicy = NeverRestart) extends Product with Serializable

Host configuration for a container.

portBindings

A map of exposed container ports to bindings on the host.

publishAllPorts

Allocate a random port for each exposed container port.

links

Container links.

volumeBindings

Volume bindings.

volumesFrom

Volumes to inherit from other containers.

devices

Devices to add to the container.

readOnlyRootFilesystem

Mount the container's root filesystem as read only.

dnsServers

DNS servers for the container to use.

dnsSearchDomains

DNS search domains.

networkMode

Networking mode for the container

privileged

Gives the container full access to the host.

capabilities

Change Linux kernel capabilities for the container.

restartPolicy

Behavior to apply when the container exits.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HostConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HostConfig(portBindings: Map[Port, Seq[PortBinding]] = ..., publishAllPorts: Boolean = false, links: Seq[ContainerLink] = collection.this.Seq.empty[Nothing], volumeBindings: Seq[VolumeBinding] = collection.this.Seq.empty[Nothing], volumesFrom: Seq[String] = collection.this.Seq.empty[Nothing], devices: Seq[DeviceMapping] = collection.this.Seq.empty[Nothing], readOnlyRootFilesystem: Boolean = false, dnsServers: Seq[String] = collection.this.Seq.empty[Nothing], dnsSearchDomains: Seq[String] = collection.this.Seq.empty[Nothing], networkMode: Option[String] = scala.None, privileged: Boolean = false, capabilities: LinuxCapabilities = ..., restartPolicy: RestartPolicy = NeverRestart)

    portBindings

    A map of exposed container ports to bindings on the host.

    publishAllPorts

    Allocate a random port for each exposed container port.

    links

    Container links.

    volumeBindings

    Volume bindings.

    volumesFrom

    Volumes to inherit from other containers.

    devices

    Devices to add to the container.

    readOnlyRootFilesystem

    Mount the container's root filesystem as read only.

    dnsServers

    DNS servers for the container to use.

    dnsSearchDomains

    DNS search domains.

    networkMode

    Networking mode for the container

    privileged

    Gives the container full access to the host.

    capabilities

    Change Linux kernel capabilities for the container.

    restartPolicy

    Behavior to apply when the container exits.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val capabilities: LinuxCapabilities

    Change Linux kernel capabilities for the container.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val devices: Seq[DeviceMapping]

    Devices to add to the container.

  10. val dnsSearchDomains: Seq[String]

    DNS search domains.

  11. val dnsServers: Seq[String]

    DNS servers for the container to use.

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val links: Seq[ContainerLink]

    Container links.

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. val networkMode: Option[String]

    Networking mode for the container

  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. val portBindings: Map[Port, Seq[PortBinding]]

    A map of exposed container ports to bindings on the host.

  22. val privileged: Boolean

    Gives the container full access to the host.

  23. val publishAllPorts: Boolean

    Allocate a random port for each exposed container port.

  24. val readOnlyRootFilesystem: Boolean

    Mount the container's root filesystem as read only.

  25. val restartPolicy: RestartPolicy

    Behavior to apply when the container exits.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. val volumeBindings: Seq[VolumeBinding]

    Volume bindings.

  28. val volumesFrom: Seq[String]

    Volumes to inherit from other containers.

  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withCapabilities(capabilities: LinuxCapabilities): HostConfig

  33. def withDevices(devices: DeviceMapping*): HostConfig

  34. def withDnsSearchDomains(searchDomains: String*): HostConfig

  35. def withDnsServers(servers: String*): HostConfig

  36. def withLinks(links: ContainerLink*): HostConfig

  37. def withNetworkMode(mode: String): HostConfig

  38. def withPortBindings(ports: (Port, Seq[PortBinding])*): HostConfig

  39. def withPrivileged(privileged: Boolean): HostConfig

  40. def withPublishAllPorts(publishAll: Boolean): HostConfig

  41. def withReadOnlyRootFilesystem(readOnlyRootFilesystem: Boolean): HostConfig

  42. def withRestartPolicy(restartPolicy: RestartPolicy): HostConfig

  43. def withVolumeBindings(volumeBindings: VolumeBinding*): HostConfig

  44. def withVolumesFrom(containers: String*): HostConfig

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped