Plugins/docker use --network?

In plugins/docker, I want to use --network=host at docker build my docker file.

How to pass --network option to plugins/docker?

you cannot use --network with plugins/docker

instead of using the docker plugin, you can interact with the host machine docker directly. see https://docs.drone.io/pipeline/docker/examples/services/docker/

1 Like