Post

if you have an old forgejo runner, make sure to remove `--add-host` from `container.options` in the config, or docker actions will fail with an obscure error: ⚙️ [runner]: failed to create container: Error response from daemon: conflicting options: custom host-to-IP mapping and the network mode

0 reposts0 likes

your old config might look something like this: container: docker_host: 'tcp://dind:2375' options: '--add-host=dind:host-gateway'

to have it work correctly, change it to: container: docker_host: 'tcp://dind:2375'