diff --git a/CHANGELOG.md b/CHANGELOG.md index a8fd758..6e26c76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ version number is tracked in the file `VERSION`. ## Unreleased ### Changed - Small tidyups of environment collection module - PATCH +- Have dind use host's /etc/docker to ensure networks use safe subnets - MINOR ### Added - Forward host working directory as `FLOKI_HOST_WORKDIR` - MINOR diff --git a/src/dind.rs b/src/dind.rs index 9dd5e49..e074dbd 100644 --- a/src/dind.rs +++ b/src/dind.rs @@ -37,6 +37,8 @@ impl Dind { "--name", &self.name, "-v", + "/etc/docker:/etc/docker:ro", + "-v", &format!("{}:{}", self.mount_source, self.mount_target), "-d", "docker:stable-dind",