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