2016 | OriginalPaper | Buchkapitel
3. Using Custom Commands and Environment Variables
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Abstract
Dockerfile
. The ENTRYPOINT
instruction specifies the command to run, and the CMD
instruction specifies the default arguments for the ENTRYPOINT
command. Kubernetes provides two fields, "Command"
and "Args"
, to be specified for a container image in a Pod definition to override the default settings of ENTRYPOINT
and CMD
. We shall discuss these fields in this chapter. We shall also discuss using environment variables in a Pod definition’s container mapping with the "env"
field mapping.