Skip to content

Instantly share code, notes, and snippets.

@ayoubjamouhi
Forked from reytech-dev/Fix.md
Created August 1, 2023 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayoubjamouhi/e374f98994c2a57ff22553826721223a to your computer and use it in GitHub Desktop.
Save ayoubjamouhi/e374f98994c2a57ff22553826721223a to your computer and use it in GitHub Desktop.
ZONE_CONFLICT: 'docker0' already bound to a zone
  1. Check if docker zone exists in firewall-cmd
$ firewall-cmd --get-active-zones
  1. If "docker" zone is available, change interface to docker0 (not persisted)
$ sudo firewall-cmd --zone=docker --change-interface=docker0
  1. If "docker" zone is available, change interface to docker0 (persisted, thanks rbjorklin)
$ sudo firewall-cmd --permanent --zone=docker --change-interface=docker0
$ sudo systemctl restart firewalld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment