Class

se.marcuslonnberg.scaladocker.remote.models

ContainerConfig

Related Doc: package models

Permalink

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

Configuration for a container.

image

Image to run.

entryPoint

Entry point for the container.

command

Command to run.

environmentVariables

Environment variables.

exposedPorts

Ports that the container should expose.

volumes

Paths inside the container that should be exposed.

workingDir

Working directory for commands to run in.

user

Username or UID.

hostname

Container hostname.

domainName

Container domain name.

standardStreams

Configuration for standard streams.

labels

Labels 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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ContainerConfig(image: ImageName, entryPoint: Option[Seq[String]] = None, command: Seq[String] = Seq.empty, environmentVariables: Seq[String] = Seq.empty, exposedPorts: Seq[Port] = Seq.empty, volumes: Seq[String] = Seq.empty, workingDir: Option[String] = None, user: Option[String] = None, hostname: Option[String] = None, domainName: Option[String] = None, standardStreams: StandardStreamsConfig = StandardStreamsConfig(), labels: Map[String, String] = Map.empty, networkDisabled: Boolean = false)

    Permalink

    image

    Image to run.

    entryPoint

    Entry point for the container.

    command

    Command to run.

    environmentVariables

    Environment variables.

    exposedPorts

    Ports that the container should expose.

    volumes

    Paths inside the container that should be exposed.

    workingDir

    Working directory for commands to run in.

    user

    Username or UID.

    hostname

    Container hostname.

    domainName

    Container domain name.

    standardStreams

    Configuration for standard streams.

    labels

    Labels for the container.

    networkDisabled

    Disable network for the container.

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    Command to run.

  7. val domainName: Option[String]

    Permalink

    Container domain name.

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

    Permalink

    Entry point for the container.

  9. val environmentVariables: Seq[String]

    Permalink

    Environment variables.

  10. def environmentVariablesMap: Map[String, String]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. val exposedPorts: Seq[Port]

    Permalink

    Ports that the container should expose.

  13. def finalize(): Unit

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

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

    Permalink

    Container hostname.

  16. val image: ImageName

    Permalink

    Image to run.

  17. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Labels for the container.

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

    Permalink
    Definition Classes
    AnyRef
  20. val networkDisabled: Boolean

    Permalink

    Disable network for the container.

  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val standardStreams: StandardStreamsConfig

    Permalink

    Configuration for standard streams.

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

    Permalink
    Definition Classes
    AnyRef
  25. val user: Option[String]

    Permalink

    Username or UID.

  26. val volumes: Seq[String]

    Permalink

    Paths inside the container that should be exposed.

  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withCommand(args: String*): ContainerConfig

    Permalink
  31. def withDomainName(domainName: String): ContainerConfig

    Permalink
  32. def withEntryPoint(args: String*): ContainerConfig

    Permalink
  33. def withEnvironmentVariables(pairs: (String, String)*): ContainerConfig

    Permalink
  34. def withExposedPorts(ports: Port*): ContainerConfig

    Permalink
  35. def withHostname(hostname: String): ContainerConfig

    Permalink
  36. def withImage(image: ImageName): ContainerConfig

    Permalink
  37. def withLabels(labels: (String, String)*): ContainerConfig

    Permalink
  38. def withNetworkDisabled(disabled: Boolean): ContainerConfig

    Permalink
  39. def withStandardStreams(standardStreams: StandardStreamsConfig): ContainerConfig

    Permalink
  40. def withUser(user: String): ContainerConfig

    Permalink
  41. def withVolumes(args: String*): ContainerConfig

    Permalink
  42. def withWorkingDir(workingDir: String): ContainerConfig

    Permalink
  43. val workingDir: Option[String]

    Permalink

    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