docker set iptables options in docker-compose yml

0 votes
I'm using docker-compose for managing containers.

How to I turn off iptables (set --iptables=false for docker) when starting via docker-compose up?
Aug 2, 2018 in Docker by Hannah
• 18,520 points
2,408 views

1 answer to this question.

0 votes
The --iptables option only applies to the Docker daemon; it's not a per-container option. You would need to modify the options passed to the Docker daemon; on Red Hat systems and derivatives this means you would modify /etc/sysconfig/docker and updte the OPTIONS= line (and restart Docker).
answered Aug 2, 2018 by Kalgi
• 52,350 points

Related Questions In Docker

+1 vote
5 answers

Set containers timezones by using docker compose.

version "2" services: serviceA: ...READ MORE

answered Jul 9, 2018 in Docker by Atul
• 10,240 points
23,528 views
0 votes
1 answer

Efficient way to run a Docker Compose stack in production?

Here is a concept which you can ...READ MORE

answered Aug 2, 2018 in Docker by Damon Salvatore
• 5,980 points
1,129 views
0 votes
1 answer
0 votes
1 answer

Declaring default environment variables in docker-compose.

Compose supports declaring default environment variables in ...READ MORE

answered Jul 3, 2019 in Docker by Sirajul
• 59,230 points
2,542 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,714 views
+1 vote
4 answers

Docker compose, running containers in net:host

Hey@Hannah, Check the compose file format specifications ...READ MORE

answered May 7, 2019 in Docker by Kishore
5,363 views
0 votes
1 answer

Can you use docker-compose files to start services in Docker 1.12 swarm-mode?

Yess, you can. you must download/install the ...READ MORE

answered Aug 10, 2018 in Docker by Kalgi
• 52,350 points
687 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP