Restart policy
These options define a restart policy to restart a container when it exits.
Expand Restart policy, and then configure the following items:To enable a restart policy for the container, turn on Enable Restart policy.
For Ignored exit codes, specify a comma-separated list of integer container exit codes. If the container exits with any of the specified exit codes, Amazon ECS will not try to restart the container. If nothing is specified, Amazon ECS will not ignore any exit codes.
For Attempt reset period, specify an integer period of time, in seconds, that the container must run for before a restart can be attempted in the event of an exit. Amazon ECS can attempt to restart a container only once every Attempt reset period seconds. If nothing is specified, the container must run for 300 seconds before a restart can be attempted.
HealthCheck
These are the commands that determine if a container is healthy. For more information, see Determine Amazon ECS task health using container health checks.
Expand HealthCheck, and then configure the following items:For Command, enter a comma-separated list of commands. You can start the commands with CMD
to run the command arguments directly, or CMD-SHELL
to run the command with the container's default shell. If neither is specified, CMD
is used.
For Interval, enter the number of seconds between each health check. The valid values are between 5 and 30.
For Timeout, enter the period of time (in seconds) to wait for a health check to succeed before it's considered a failure. The valid values are between 2 and 60.
For Start period, enter the period of time (in seconds) to wait for a container to bootstrap before the health check commands run. The valid values are between 0 and 300.
For Retries, enter the number of times to retry the health check commands when there is a failure. The valid values are between 1 and 10.
This option defines dependencies for container startup and shutdown. A container can contain multiple dependencies.
Expand Startup dependency ordering, and then configure the following:Choose Add container dependency.
For Container, choose the container.
For Condition, choose the startup dependency condition.
These options determine when to start and stop a container.
Expand Container timeouts, and then configure the following:To configure the time to wait before giving up on resolving dependencies for a container, for Start timeout, enter the number of seconds.
To configure the time to wait before the container is stopped if it doesn't exit normally on its own, for Stop timeout, enter the number of seconds.
These options determine whether to use networking within a container.
Expand Container network settings, and then configure the following:To disable container networking, select Turn off networking.
To configure DNS server IP addresses that are presented to the container, in DNS servers, enter the IP address of each server on a separate line.
To configure DNS domains to search non-fully-qualified host names that are presented to the container, in DNS search domains, enter each domain on a separate line.
The pattern is ^[a-zA-Z0-9-.]{0,253}[a-zA-Z0-9]$
.
To configure the container host name, in Host name, enter the container goat name.
To add hostnames and IP address mappings that are appended to the /etc/hosts
file on the container, choose Add extra host, and then for Hostname and IP address, enter the host name and IP address.
These override the values in the Dockerfile.
Expand Docker configuration, and then configure the following items:
For Command, enter an executable command for a container.
This parameter maps to Cmd
in the Create a container section of the Docker Remote API and the COMMAND
option to docker run
. This parameter overrides the CMD
instruction in a Dockerfile.
For Entry point, enter the Docker ENTRYPOINT that is passed to the container.
This parameter maps to Entrypoint
in the Create a container section of the Docker Remote API and the --entrypoint
option to docker run
. This parameter overrides the ENTRYPOINT
instruction in a Dockerfile.
For Working directory, enter the directory that the container will run any entry point and command instructions provided.
This parameter maps to WorkingDir
in the Create a container section of the Docker Remote API and the --workdir
option to docker run
. This parameter overrides the WORKDIR
instruction in a Dockerfile.
These values overwrite the default resource quota setting for the operating system.
This parameter maps to Ulimits
in the Create a container section of the Docker Remote API and the --ulimit
option to docker run.
Expand Resource limits (ulimits), and then choose Add ulimit. For Limit name, choose the limit. Then, for Soft limit and Hard limit, enter the values.
To add additional ulimits, choose Add ulimit.
Docker labelsThis option adds metadata to your container.
This parameter maps to Labels
in the Create a container section of the Docker Remote API and the --label
option to docker run.
Expand Docker labels, choose Add key value pair, and then enter the Key and Value.
To add additional Docker labels, choose Add key value pair.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4