Amazon ECS Now Allows Three Additional Docker Flags

Posted on: Sep 6, 2018

You can now specify three new docker flags as parameters in your Amazon Elastic Container Service (ECS) Task definition. These flags are sysctl (system controls), interactive, and tty (Pseudo terminal). You can also specify interactive and tty flags as parameters in your AWS Fargate Task definitions.

The sysctl parameter allows you to have fine grained control on your application's namespaced kernel parameters. Therefore, you can optimize the kernel's behavior to your application's needs without having to configure those parameters at the host-level or worry about impacting other applications.

The interactive and tty parameters, allow you to deploy containerized applications that require stdin or a tty to be allocated. This allows you to run some legacy applications that require these flags if you wanted to containerize them.

This feature is currently supported with EC2 launch-type. For more information about using Docker parameters in task definitions, visit the Amazon ECS documentation.

To view where Amazon ECS is available, please visit our region table.