What are the security implications of using Docker’s –network=host mode?

Docker Fundamentals Hard

Docker Fundamentals — Hard

What are the security implications of using Docker’s –network=host mode?

Key points

  • Host network mode eliminates network isolation
  • Container shares host's network stack
  • Allows container to bind to any host port
  • Can sniff host network traffic
  • May interfere with host network services

Ready to go further?

Related questions