Author : sanjeev kumar

I want to user "host" network using docker-compose and I used network tags. I was suggested to use "network_mode: host" when I raised the issue at : Docker ERROR: only one instance of "host" network is allowed So I changed my configuration as per suggestion to version: ‘3.4’ services: testcontainer: build: context: . image: testcontainer ..

Read more

I am trying to run a container where I need to user network driver as "host" instead of "bridge". I am running it on Centos machine and my docker-compose.yml is version: ‘3.4’ services: testContainer: build: context: . args: HADOOP_VERSION: 2.6.0 HIVE_VERSION: 1.1.0 image: testcontainer container_name: testcontainer hostname: testcontainer ports: – 9200:9200 – 9300:9300 – 5601:5601 ..

Read more