se.marcuslonnberg.scaladocker.remote.models

HostConfig

Related Doc: package models

case class HostConfig(binds: Seq[Volume] = Seq.empty, lxcConfig: Seq[String] = Seq.empty, privileged: Boolean = false, portBindings: Map[Port, Seq[PortBinding]] = Map.empty, links: Seq[ContainerLink] = Seq.empty, publishAllPorts: Boolean = false, readonlyRootFilesystem: Boolean = false, dnsServers: Seq[String] = Seq.empty, dnsSearchDomains: Seq[String] = Seq.empty, volumesFrom: Seq[String] = Seq.empty, devices: Seq[DeviceMapping] = Seq.empty, networkMode: Option[String] = None, capAdd: Seq[String] = Seq.empty, capDrop: Seq[String] = Seq.empty, restartPolicy: RestartPolicy = NeverRestart) extends Product with Serializable

binds

Volume bindings.

lxcConfig

LXC specific configurations.

privileged

Gives the container full access to the host.

portBindings

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

links

Container links.

publishAllPorts

Allocate a random port for each exposed container port.

readonlyRootFilesystem

Mount the container's root filesystem as read only.

dnsServers

DNS servers for the container to use.

dnsSearchDomains

DNS search domains.

volumesFrom

Volumes to inherit from other containers.

devices

Devices to add to the container.

networkMode

Networking mode for the container

capAdd

Kernel capabilities to add to the container

capDrop

Kernel capabilities to drop from 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(binds: Seq[Volume] = Seq.empty, lxcConfig: Seq[String] = Seq.empty, privileged: Boolean = false, portBindings: Map[Port, Seq[PortBinding]] = Map.empty, links: Seq[ContainerLink] = Seq.empty, publishAllPorts: Boolean = false, readonlyRootFilesystem: Boolean = false, dnsServers: Seq[String] = Seq.empty, dnsSearchDomains: Seq[String] = Seq.empty, volumesFrom: Seq[String] = Seq.empty, devices: Seq[DeviceMapping] = Seq.empty, networkMode: Option[String] = None, capAdd: Seq[String] = Seq.empty, capDrop: Seq[String] = Seq.empty, restartPolicy: RestartPolicy = NeverRestart)

    binds

    Volume bindings.

    lxcConfig

    LXC specific configurations.

    privileged

    Gives the container full access to the host.

    portBindings

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

    links

    Container links.

    publishAllPorts

    Allocate a random port for each exposed container port.

    readonlyRootFilesystem

    Mount the container's root filesystem as read only.

    dnsServers

    DNS servers for the container to use.

    dnsSearchDomains

    DNS search domains.

    volumesFrom

    Volumes to inherit from other containers.

    devices

    Devices to add to the container.

    networkMode

    Networking mode for the container

    capAdd

    Kernel capabilities to add to the container

    capDrop

    Kernel capabilities to drop from the container.

    restartPolicy

    Behavior to apply when the container exits.

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val binds: Seq[Volume]

    Volume bindings.

  6. val capAdd: Seq[String]

    Kernel capabilities to add to the container

  7. val capDrop: Seq[String]

    Kernel capabilities to drop from 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. val lxcConfig: Seq[String]

    LXC specific configurations.

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

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

    Networking mode for the container

  20. final def notify(): Unit

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

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

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

  23. val privileged: Boolean

    Gives the container full access to the host.

  24. val publishAllPorts: Boolean

    Allocate a random port for each exposed container port.

  25. val readonlyRootFilesystem: Boolean

    Mount the container's root filesystem as read only.

  26. val restartPolicy: RestartPolicy

    Behavior to apply when the container exits.

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

    Definition Classes
    AnyRef
  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( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped