aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/bits
diff options
context:
space:
mode:
Diffstat (limited to 'container/bits')
-rw-r--r--container/bits/bits.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/container/bits/bits.go b/container/bits/bits.go
new file mode 100644
index 00000000..7aa2e448
--- /dev/null
+++ b/container/bits/bits.go
@@ -0,0 +1,13 @@
+// Package bits contains constants for configuring the container.
+package bits
+
+const (
+ // BindOptional skips nonexistent host paths.
+ BindOptional = 1 << iota
+ // BindWritable mounts filesystem read-write.
+ BindWritable
+ // BindDevice allows access to devices (special files) on this filesystem.
+ BindDevice
+ // BindEnsure attempts to create the host path if it does not exist.
+ BindEnsure
+)