aboutsummaryrefslogtreecommitdiff
path: root/sysutils/docker/pkg-message
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/docker/pkg-message')
-rw-r--r--sysutils/docker/pkg-message21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/docker/pkg-message b/sysutils/docker/pkg-message
new file mode 100644
index 000000000000..f01d94f6fa82
--- /dev/null
+++ b/sysutils/docker/pkg-message
@@ -0,0 +1,21 @@
+
+Docker requires a bit of setup before usage.
+
+You will need to create a ZFS dataset on /usr/docker
+
+# zfs create -o mountpoint=/usr/docker <zroot>/docker
+
+And lastly enable the docker daemon
+# sysrc -f /etc/rc.conf docker_enable="YES"
+# service docker start
+
+(WARNING)
+
+Starting the docker service will also add the following PF rule:
+
+nat on ${iface} from 172.17.0.0/16 to any -> (${iface})
+
+Where $iface is the default NIC on the system, or the value
+of $docker_nat_iface. This is for network connectivity to docker
+containers in this early port. This should not be needed in future
+versions of docker.