MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / network_isolation

Method network_isolation

src/task_builder.rs:186–189  ·  view source on GitHub ↗

Sets whether per-container network isolation is enabled. When disabled, the container runs on the default Docker network with direct internet access.

(mut self, enabled: bool)

Source from the content-addressed store, hash-verified

184 /// Sets whether per-container network isolation is enabled.
185 /// When disabled, the container runs on the default Docker network with direct internet access.
186 pub fn network_isolation(mut self, enabled: bool) -> Self {
187 self.network_isolation = enabled;
188 self
189 }
190
191 /// Sets whether Docker-in-Docker support is enabled.
192 /// When enabled, container security is relaxed to allow nested container builds.

Callers 1

configure_builderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected