Skip to content

Commit 6614033

Browse files
committed
fix(composer): update separator for security options
Running a cargo test that uses composer results in these entries in the system log: dockerd[pid]: time="<time>" level=warning msg="Security options with `:` as a separator are deprecated and will be completely unsupported in 17.04, use `=` instead." so update the separator to use '='.
1 parent e057a1f commit 6614033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ impl ComposeTest {
918918
"IPC_LOCK".into(),
919919
"SYS_NICE".into(),
920920
]),
921-
security_opt: Some(vec!["seccomp:unconfined".into()]),
921+
security_opt: Some(vec!["seccomp=unconfined".into()]),
922922
init: spec.init,
923923
port_bindings: spec.port_map.clone(),
924924
..Default::default()

0 commit comments

Comments
 (0)