elastic-ci-stack-for-aws
elastic-ci-stack-for-aws copied to clipboard
expose the fixed-cidr docker daemon option via cloudformation parameters
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!
We'd welcome a PR for this @elijahchancey!
I'm not going to be able to make time for this. If that changes I'll let you know!