You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by cm...@apache.org on 2019/05/23 18:46:26 UTC

[kafka] branch trunk updated: KAFKA-8417: Remove redundant network definition --net=host when starting testing docker containers (#6797)

This is an automated email from the ASF dual-hosted git repository.

cmccabe pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c6d083d  KAFKA-8417: Remove redundant network definition --net=host when starting testing docker containers (#6797)
c6d083d is described below

commit c6d083d7fc0a3c1e08157ffd0e6665be40a5680f
Author: Konstantine Karantasis <ko...@confluent.io>
AuthorDate: Thu May 23 11:46:10 2019 -0700

    KAFKA-8417: Remove redundant network definition --net=host when starting testing docker containers (#6797)
    
    Reviewers: Colin P. McCabe <cm...@apache.org>
---
 tests/docker/ducker-ak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/docker/ducker-ak b/tests/docker/ducker-ak
index 04581fb..2a4e5f6 100755
--- a/tests/docker/ducker-ak
+++ b/tests/docker/ducker-ak
@@ -240,7 +240,7 @@ docker_run() {
     # and mount FUSE filesystems inside the container.  We also need it to
     # run iptables inside the container.
     must_do -v docker run --privileged \
-        -d -t --net=host -h "${node}" --network ducknet \
+        -d -t -h "${node}" --network ducknet \
         --memory=${docker_run_memory_limit} --memory-swappiness=1 \
         -v "${kafka_dir}:/opt/kafka-dev" --name "${node}" -- "${image_name}"
 }