Skip to content

Commit

Permalink
fix(composer): update separator for security options
Browse files Browse the repository at this point in the history
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 '='.
  • Loading branch information
jonathan-teh committed Mar 8, 2021
1 parent e057a1f commit 6614033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ impl ComposeTest {
"IPC_LOCK".into(),
"SYS_NICE".into(),
]),
security_opt: Some(vec!["seccomp:unconfined".into()]),
security_opt: Some(vec!["seccomp=unconfined".into()]),
init: spec.init,
port_bindings: spec.port_map.clone(),
..Default::default()
Expand Down

0 comments on commit 6614033

Please sign in to comment.