Install docker Install docker
curl -o docker-17.06.1.txz http://pkg.freebsd.org/freebsd:11:x86:64/latest/All/docker-17.06.1.txz
pkg install ./docker-17.06.1.txz
curl -o ca_root_nss-3.34.1.txz http://pkg.freebsd.org/freebsd:11:x86:64/latest/All/ca_root_nss-3.34.1.txz
pkg install ./ca_root_nss-3.34.1.txz
You will need to create a ZFS dataset on /usr/docker
zfs create -o mountpoint=/usr/docker /zroot/docker
zpool create -f zpool-docker -m /var/lib/docker /dev/xvdf /dev/xvdg
And lastly enable the docker daemon
sysrc -f /etc/rc.conf docker_enable="YES"
service docker start