In CI I want to run some script inside deployed container. It works only if there is only one container in the service, if more it asks what container to use. Is there a way how to run it in first available container and not ask?
This is log from GitLab CI:
$ rancher exec project-name/web /migrate.sh[0;m
Containers:
[1] helpdesk-master-web-1 (10.42.250.82)
[2] helpdesk-master-web-1 (10.42.27.90)
Select: [1] helpdesk-master-web-1 (10.42.250.82)
[2] helpdesk-master-web-1 (10.42.27.90)
Select: [1] helpdesk-master-web-1 (10.42.250.82)
[2] helpdesk-master-web-1 (10.42.27.90)
Select: [1] helpdesk-master-web-1 (10.42.250.82)
…