Add support for --storage-opt option when executing docker run
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
### Summary
According to #502 many options required to run docker containers are not supported yet in ECS, when running Windows containers on Windows EC2 instances via ECS, specifying `--storage-opt` may be necessary a lot since the default of 20GB may not be enough for most workloads.
### Description
Since Windows ECS instances use `windowsfilter` as a storage drive, the default device size of 20GB (https://docs.docker.com/edge/engine/reference/commandline/dockerd/#windowsfilter-options) is often times not enough to have a windows container work correctly requiring one to set the `--storage-opt` to a higher amount that is compatible with the host volume.
Contributor guide
Research direction
Start by reviewing how ECS handles docker run options for Windows containers on Windows EC2 instances, with particular attention to --storage-opt and the windowsfilter storage drive. Confirm the required behavior against the host volume constraints and determine what implementation or service changes are needed; the issue is complete when ECS supports the option for the described workloads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker
- Domain
- cloud, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100