Skip to content

Commit

Permalink
Change Docker host to listen on all interfaces and disable TLS verifi…
Browse files Browse the repository at this point in the history
…cation
  • Loading branch information
9trocode committed Aug 13, 2023
1 parent 953f0ec commit deefd05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/docker_run_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -841,14 +841,15 @@ async fn test_docker_host() {
&DockerBuilderOptions {
name: Some(name.clone()),
quiet: true,
docker_host: Some("tcp://192.168.1.10:2375".to_string()),
docker_host: Some("tcp://0.0.0.0:2375".to_string()),
docker_tls_verify: Some("0".to_string()),
..Default::default()
},
)
.await
.unwrap();
let output = run_image(&name, None).await;
assert!(!output.contains("Hello World"));
assert!(output.contains("Hello World"));
}

#[tokio::test]
Expand Down

0 comments on commit deefd05

Please sign in to comment.