Skip to content

Commit

Permalink
Merge pull request moby#4714 from tonistiigi/userns-perm-err
Browse files Browse the repository at this point in the history
gateway: mount metadata with nodev
  • Loading branch information
tonistiigi authored Feb 29, 2024
2 parents 5df020b + 8255f65 commit 7de5894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func (b *bindMount) Mount() ([]mount.Mount, func() error, error) {
return []mount.Mount{{
Type: "bind",
Source: b.dir,
Options: []string{"bind", "ro"},
Options: []string{"bind", "ro", "nosuid", "nodev", "noexec"},
}}, func() error { return nil }, nil
}
func (b *bindMount) IdentityMapping() *idtools.IdentityMapping {
Expand Down

0 comments on commit 7de5894

Please sign in to comment.