No ability to modify network settings on Docker executors?
If I understand the documentation correctly, there's currently no way to modify the default network settings for build containers when using Docker-based runners, neither in the runner config nor the .gitlab-ci.yml file?
My use case for this is for setting custom mac addresses for the build container itself. I currently involve proprietary compilers in my build that uses a license file locked to a specific mac address. Right now my workaround is to simply use a shell-based runner and invoke Docker myself, using the --mac-address=
flag in docker run
, but of course that has its own issues (escalation worries, etc). If I am able to specify custom mac addresses for containers in some sort of config file, I'll be able to move to a pure container runner workflow.
I realize this may cause some sort of conflict with docker-machine/service configs.