Add --force
when enabling ufw to bypass prompt (#794)
This commit is contained in:
parent
40d850fdb3
commit
a712a0906a
@ -18,7 +18,7 @@ if ! command -v ufw &>/dev/null; then
|
||||
sudo ufw allow in on docker0 to any port 53
|
||||
|
||||
# Turn on the firewall
|
||||
sudo ufw enable
|
||||
sudo ufw --force enable
|
||||
|
||||
# Turn on Docker protections
|
||||
sudo ufw-docker install
|
||||
|
Loading…
x
Reference in New Issue
Block a user