Skip to content

Commit

Permalink
add NET_ADMIN
Browse files Browse the repository at this point in the history
Signed-off-by: Mai Bui <[email protected]>
  • Loading branch information
maipbui committed Jan 16, 2024
1 parent 94c5bbe commit 573c886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/docker-nat.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_NAT_DBG)
endif

$(DOCKER_NAT)_CONTAINER_NAME = nat
$(DOCKER_NAT)_RUN_OPT += -t
$(DOCKER_NAT)_RUN_OPT += -t --cap-add=NET_ADMIN
$(DOCKER_NAT)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
$(DOCKER_NAT)_RUN_OPT += -v /etc/timezone:/etc/timezone:ro
$(DOCKER_NAT)_RUN_OPT += -v /host/warmboot:/var/warmboot
Expand Down

0 comments on commit 573c886

Please sign in to comment.