Parameters for Running Dockerfile


#1

We run Cypress tests in our concourse pipeline and we recently started getting failures. Those failures linked us to documentation that mentions if you’re seeing this error in Docker, there’s a one line fix documented here. That one line fix is to run docker with the --ipc=host parameter. I would like to do this for the docker container that runs our Cypress job, but when I look up the concourse docker image resource documentation that we’re using I don’t see any parameters that let us do this: https://github.com/concourse/docker-image-resource#parameters.

Is there any way for us to specify the --ipc=host parameter when Docker runs?


#2

Concourse uses Garden to manage the running of images. The image resource is used for pulling down images from registries but its Garden that actually starts them for tasks.

Looking at the configuration options for Concourse I can’t see a way to pass flags through to Garden.