Skip to content

Conversation

@t924417424
Copy link

This PR adds a new environment variable DRONE_RUNNER_NETWORK_IPAM_SUBNET to the drone-runner-docker project. This variable allows users to specify a custom subnet for the Docker network created by the runner.

This is useful in situations where the default subnets used by Docker conflict with the host's network configuration, causing errors such as "Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network".

To use this option, users can set the DRONE_RUNNER_NETWORK_IPAM_SUBNET environment variable to a valid CIDR-formatted subnet, such as "192.168.1.0/24". The runner will then use this subnet when creating the Docker network.

@CLAassistant
Copy link

CLAassistant commented Jul 13, 2023

CLA assistant check
All committers have signed the CLA.

@ying-jeanne
Copy link

ying-jeanne commented Mar 7, 2024

Hi, could someone give this a look, we also run into similar issue that adding more subnet would be very convenient. Maybe @eoinmcafee00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants