How can I run a Docker container in AWS Elastic Beanstalk with non-default run parameters?

前端 未结 4 1568
青春惊慌失措
青春惊慌失措 2020-12-17 02:13

I have a Docker container that runs great on my local development machine. I would like to move this to AWS Elastic Beanstalk, but I am run

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-17 02:42

    You can now add capabilities using the task definition. Here are the docs: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html

    This is specifically what you would add to your task definition:

    "linuxParameters": {
        "capabilities": {
          "add": [
            "SYS_PTRACE"
          ]
        }
      },
    

提交回复
热议问题