Search code examples
dockeramazon-ec2amazon-ecsselenoid

Docker image specific argument in ECS task definition


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?


Solution

  • Put this: Advanced container configuration > Environment > Command

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