You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by kk...@apache.org on 2020/03/24 21:49:09 UTC

[kafka] branch 2.0 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.

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


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

commit 7f0735da35fbbf48a5844d8d1c9f0b0a998bc038
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 ba8ccf4..1ec8992 100755
--- a/tests/docker/ducker-ak
+++ b/tests/docker/ducker-ak
@@ -236,7 +236,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}"
 }