Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to delete ufw-docker? #89

Open
Foreist opened this issue Feb 21, 2023 · 1 comment
Open

How to delete ufw-docker? #89

Foreist opened this issue Feb 21, 2023 · 1 comment

Comments

@Foreist
Copy link

Foreist commented Feb 21, 2023

How to delete ufw-docker

@chaifeng
Copy link
Owner

The only file changed by ufw-docker is /etc/ufw/after.rules.

  • Open file /etc/ufw/after.rules, remove all lines between # BEGIN UFW AND DOCKER and # END UFW AND DOCKER.
  • Reboot your server
  • Done.

If you want to remove all things related to ufw-docker

  • Remove this script ufw-docker
  • Run command docker images | grep ufw-docker-agent to find the docker image downloaded by ufw-docker, then use the command docker rmi to remove the corresponding docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants