Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Restrict(mounts ...string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Restrict ¶ func Restrict(mounts ...string) error This has to be called while the container still has CAP_SYS_ADMIN (to be able to perform mounts). However, afterwards, CAP_SYS_ADMIN should be dropped (otherwise the user will be able to revert those changes). Types ¶ This section is empty. Source Files ¶ View all Source files restrict.go Click to show internal directories. Click to hide internal directories.