se.marcuslonnberg.scaladocker.remote.models

ContainerConfig

Related Doc: package models

case class ContainerConfig(image: ImageName, hostname: Option[String] = None, domainName: Option[String] = None, user: Option[String] = None, resourceLimits: ContainerResourceLimits = ContainerResourceLimits(), standardStreams: StandardStreamsConfig = StandardStreamsConfig(), exposedPorts: Seq[Port] = Seq.empty, env: Seq[String] = Seq.empty, cmd: Seq[String] = Seq.empty, volumes: Seq[String] = Seq.empty, workingDir: Option[String] = None, entryPoint: Option[Seq[String]] = None, labels: Map[String, String] = Map.empty, networkDisabled: Boolean = false, onBuild: Seq[String] = Seq.empty) extends Product with Serializable

Configuration for a container.

image

Image to run.

hostname

Container hostname.

domainName

Container domain name.

user

Username or UID.

resourceLimits

Resource limits.

standardStreams

Configuration for standard streams.

exposedPorts

Ports that the container should expose.

env

Environment variables.

cmd

Command to run.

volumes

Paths inside the container that should be exposed.

workingDir

Working directory for commands to run in.

entryPoint

Entry point for the container.

networkDisabled

Disable network for the container.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContainerConfig
  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 ContainerConfig(image: ImageName, hostname: Option[String] = None, domainName: Option[String] = None, user: Option[String] = None, resourceLimits: ContainerResourceLimits = ContainerResourceLimits(), standardStreams: StandardStreamsConfig = StandardStreamsConfig(), exposedPorts: Seq[Port] = Seq.empty, env: Seq[String] = Seq.empty, cmd: Seq[String] = Seq.empty, volumes: Seq[String] = Seq.empty, workingDir: Option[String] = None, entryPoint: Option[Seq[String]] = None, labels: Map[String, String] = Map.empty, networkDisabled: Boolean = false, onBuild: Seq[String] = Seq.empty)

    image

    Image to run.

    hostname

    Container hostname.

    domainName

    Container domain name.

    user

    Username or UID.

    resourceLimits

    Resource limits.

    standardStreams

    Configuration for standard streams.

    exposedPorts

    Ports that the container should expose.

    env

    Environment variables.

    cmd

    Command to run.

    volumes

    Paths inside the container that should be exposed.

    workingDir

    Working directory for commands to run in.

    entryPoint

    Entry point for the container.

    networkDisabled

    Disable network for the container.

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. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val cmd: Seq[String]

    Command to run.

  7. val domainName: Option[String]

    Container domain name.

  8. val entryPoint: Option[Seq[String]]

    Entry point for the container.

  9. val env: Seq[String]

    Environment variables.

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

    Definition Classes
    AnyRef
  11. val exposedPorts: Seq[Port]

    Ports that the container should expose.

  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. val hostname: Option[String]

    Container hostname.

  15. val image: ImageName

    Image to run.

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val labels: Map[String, String]

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

    Definition Classes
    AnyRef
  19. val networkDisabled: Boolean

    Disable network for the container.

  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. val onBuild: Seq[String]

  23. val resourceLimits: ContainerResourceLimits

    Resource limits.

  24. val standardStreams: StandardStreamsConfig

    Configuration for standard streams.

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

    Definition Classes
    AnyRef
  26. val user: Option[String]

    Username or UID.

  27. val volumes: Seq[String]

    Paths inside the container that should be exposed.

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. val workingDir: Option[String]

    Working directory for commands to run in.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped