csharp
public record class DockerCreateWhat to create.
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 ImageThe realm's image.
public IReadOnlyList<string> ArgumentsIts command, which carries the encoded RealmSpec.
public IReadOnlyDictionary<string, string> LabelsLabels to put on it, including the shard id.
public IReadOnlyDictionary<string, string> EnvironmentVariables to set.
public int PortThe UDP port to publish, host and container alike.
public IReadOnlyList<string> EntrypointThe 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