Entrypoint type in docker driver

Why is entrypoint defined as a string list []string{} in nomad as opposed to string in docker?

  • entrypoint - (Optional) A string list overriding the image’s entrypoint.

Entrypoint defines the point of entry to the docker container (e.g. a default binary that needs to be executed when the container starts). Any arguments should not be part of the entrypoint.