Skip to content

Commit

Permalink
Remove USER namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
airadier committed Sep 27, 2021
1 parent 8ed99ad commit e2207f2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ func main() {
{Type: configs.NEWUTS},
{Type: configs.NEWIPC},
{Type: configs.NEWPID},
{Type: configs.NEWUSER},
}),
Cgroups: &configs.Cgroup{
Name: "ctrwrap",
Expand All @@ -279,21 +278,6 @@ func main() {
Devices: specconv.AllowedDevices,
Hostname: "ctrwrap",
Mounts: mounts,
UidMappings: []configs.IDMap{
{
ContainerID: 0,
HostID: 0,
Size: 65536,
},
},
GidMappings: []configs.IDMap{
{
ContainerID: 0,
HostID: 0,
Size: 65536,
},
},

Rlimits: []configs.Rlimit{
{
Type: unix.RLIMIT_NOFILE,
Expand Down

0 comments on commit e2207f2

Please sign in to comment.