Skip to content

Instantly share code, notes, and snippets.

@andre161292
Forked from reytech-dev/Fix.md
Created June 5, 2023 11:26
Show Gist options
  • Save andre161292/41b5239d47568815affd3aa82b7f3372 to your computer and use it in GitHub Desktop.
Save andre161292/41b5239d47568815affd3aa82b7f3372 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