ImageConfig sets the command and ports the snapshot records, as a Docker image's ENTRYPOINT, CMD and EXPOSE do. By default a capture keeps those of the snapshot the sandbox was created from; each field given here replaces that one, and an empty list clears it. A function serving the snapshot runs this command and listens on its one exposed port.
interface ImageConfigCmd follows Entrypoint, as CMD: its arguments, or the whole command when Entrypoint is empty.
Entrypoint is the program the command starts with, as ENTRYPOINT.
ExposedPorts are the TCP ports the command listens on, as EXPOSE.