KAFKA-8417: Remove redundant network definition --net=host when starting testing docker containers (#6797)

Reviewers: Colin P. McCabe <cmccabe@apache.org>
This commit is contained in:
Konstantine Karantasis 2019-05-23 11:46:10 -07:00 committed by Colin Patrick McCabe
parent 4574b2438a
commit c6d083d7fc
1 changed files with 1 additions and 1 deletions

View File

@ -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}"
}