Skip to content

Commit

Permalink
remove --cap-add SYS_MODULE
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-nettica committed Jun 22, 2024
1 parent 39a73b5 commit fc7040d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func StartContainer(service model.Service) (string, error) {

port := fmt.Sprintf("%d", service.ServicePort)

var args = []string{"run", "--rm", "-d", "--cap-add", "NET_ADMIN", "--cap-add", "SYS_MODULE", "--sysctl", "net.ipv4.conf.all.src_valid_mark=1",
var args = []string{"run", "--rm", "-d", "--cap-add", "NET_ADMIN", "--sysctl", "net.ipv4.conf.all.src_valid_mark=1",
"-e", "NETTICA_SERVER=" + service.Device.Server,
"-e", "NETTICA_DEVICE_ID=" + service.Device.Id,
"-e", "NETTICA_API_KEY=" + service.Device.ApiKey,
Expand Down

0 comments on commit fc7040d

Please sign in to comment.