elastic-ci-stack-for-aws icon indicating copy to clipboard operation
elastic-ci-stack-for-aws copied to clipboard

expose the fixed-cidr docker daemon option via cloudformation parameters

Open elijahchancey opened this issue 6 years ago • 2 comments

I'm referring to the fixed-cidr option which is documented here: https://docs.docker.com/v17.09/engine/userguide/networking/default_network/custom-docker0/

The option fixed-cidr can be passed to the docker daemon. It prevents the daemon from using IP addresses within a defined range for the containers during builds. This is helpful because some of my builds need to run migrations on a database in an IP range that is normally used by the docker daemon. That makes this database server unreachable by build containers.

It appears to me the only way to implement this on the Buildkite server is by using a bootstrap script. Is there any chance you can expose this functionality through the cloudformation parameters?

Thanks!

elijahchancey avatar Jan 14 '19 00:01 elijahchancey

We'd welcome a PR for this @elijahchancey!

lox avatar Jan 27 '19 23:01 lox

I'm not going to be able to make time for this. If that changes I'll let you know!

elijahchancey avatar Jan 29 '19 17:01 elijahchancey