Service Task Spec Container Spec
Constructors
Properties
The command/entrypoint to be run in the image. According to the docker cli the override of the entrypoint is also passed to the command
property and there is no entrypoint
attribute in the ContainerSpec
of the service.
References to zero or more configs that will be exposed to the service
Specification for DNS related configurations in resolver configuration file (resolv.conf
)
A test to perform to check that the container is healthy
A list of hostname/IP mappings to add to the container's hosts file
User-defined key/value metadata
Specification for mounts to be added to containers created as part of the service
Security options for the container
References to zero or more secrets that will be exposed to the service
Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.
Signal to stop the container