1

I have the below docker run command to launch a container:

docker run -d --name selenoid-ui  \
    --link selenoid                 \
    -p 8080:8080                    \
    aerokube/selenoid-ui --selenoid-uri=http://selenoid:4444

  • Manage to run the command except the --selenoid-uri=http://selenoid:4444 part.
  • Tried to put the same in docker command, entry point and key value pairs but doesnt seem to work.

Any idea where shall I use this docker image specific argument in task definition?

4

2 回答 2

1

把这个:高级容器配置>环境>命令

--selenoid-uri= http://selenoid:4444

于 2018-02-20T05:07:13.373 回答
0

使用CommandContainerDefinition 中的属性。请参阅:https ://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-command

于 2018-02-19T21:53:29.400 回答