@@ -86,6 +86,9 @@ following will output a list of processes running in the container:
},
},
Action:func(context*cli.Context)error{
iferr:=checkArgs(context,2,minArgs);err!=nil{
returnerr
}
ifos.Geteuid()!=0{
returnfmt.Errorf("runc should be run as root")
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.