Type Alias: ImageConfig
ImageConfig =
object
The run settings an image gives its containers by default, from its Dockerfile (DockerImage.config).
Properties
cmd
cmd:
string[]
The default command (CMD), as its arguments. Docker reports null for an image without one.
entrypoint
entrypoint:
string[]
The entry point (ENTRYPOINT), as its arguments, empty when the image has none.
env
env:
Record<string,string>
The environment variables (ENV), by name.
hostname
hostname:
string
The containers' default host name, usually empty.
ports
ports:
ImageExposePort[]
The exposed ports (EXPOSE).
user
user:
string
The user the containers' processes run as (USER: "node", "1000:1000"), an empty string for root.
volumes
volumes:
string[]
The container paths of the image's volumes (VOLUME: /var/lib/postgresql/data).