Vixen
dd8b0a81
csharp
public record class DockerCreate

What to create.

Read the guide page for this →

Remarks

⚠ is the container's Cmd, which is not the whole command. Docker execs the image's ENTRYPOINT with Cmd appended, so these are the realm's arguments only — and only when the image has an entrypoint to append them to. An image without one turns Arguments[0] into the program, which is how a container comes up dead saying --realm-spec: executable file not found.

Fields and properties (6)

  • public string Image

    The realm's image.

  • public IReadOnlyList<string> Arguments

    Its command, which carries the encoded RealmSpec.

  • public IReadOnlyDictionary<string, string> Labels

    Labels to put on it, including the shard id.

  • public IReadOnlyDictionary<string, string> Environment

    Variables to set.

  • public int Port

    The UDP port to publish, host and container alike.

  • public IReadOnlyList<string> Entrypoint

    The program to run, or empty for the image's own entrypoint.

Methods (1)

  • public DockerCreate(string Image, IReadOnlyList<string> Arguments, IReadOnlyDictionary<string, string> Labels, IReadOnlyDictionary<string, string> Environment, int Port)

    What to create.

Used by (2)

  • DockerEngineVixen.Live.Placement.Docker
  • DockerPlacementVixen.Live.Placement.Docker