mirror of
https://github.com/chaifeng/ufw-docker.git
synced 2025-06-28 06:56:13 +02:00
remove "force add"
This commit is contained in:
parent
4ab8060b92
commit
36afb81244
2 changed files with 0 additions and 8 deletions
|
@ -31,7 +31,6 @@ function run-ufw-docker() {
|
|||
declare -a docker_opts=(run --rm -t --name "ufw-docker-agent-${RANDOM}-$(date '+%Y%m%d%H%M%S')"
|
||||
--cap-add NET_ADMIN --network host
|
||||
--env "DEBUG=${DEBUG}"
|
||||
--env "UFW_DOCKER_FORCE_ADD=yes"
|
||||
-v /var/run/docker.sock:/var/run/docker.sock
|
||||
-v /etc/ufw:/etc/ufw "${ufw_docker_agent_image}" "$@")
|
||||
docker "${docker_opts[@]}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue