Hidepid=2 not working in lxc

Seems like /proc is already mounted. Try to set:

lxc.mount.auto =
lxc.mount.auto = sys:mixed cgroup:mixed
lxc.mount.entry = proc proc proc rw,remount,nodev,nosuid,noexec,relatime,hidepid=2 0 0

and try again.

1 Like