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:48:37 UTC
[kafka] branch 2.1 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.1
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/2.1 by this push:
new c1a7e3a KAFKA-8417: Remove redundant network definition --net=host when starting testing docker containers (#6797)
c1a7e3a is described below
commit c1a7e3a029d5fe810a566400a8b16785c484e9ef
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 a54bd30..3372376 100755
--- a/tests/docker/ducker-ak
+++ b/tests/docker/ducker-ak
@@ -239,7 +239,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}"
}