The Docker package for FreeBSD requires some manual configuration in order to work:
* The ca_root_nss package is necessary, but for some reason the docker package does not currently mark ca_root_nss as a dependency.
* The Docker service is not enabled by default. Would be nice for docker_enable="YES" to be concatenated to /etc/rc.conf as a post-install step for the docker package.
* The /usr/docker mountpoint is necessary for the Docker service to start, but this mountpoint is missing out of the box. Would be nice for the docker package to automatically run "zfs create -o mountpoint=/usr/docker zroot/docker" as a post-install step.
So with three minor tweaks, the docker package would become much easier to use by default. Currently, I'm running a bootstrap.sh script to automate these steps.
https://github.com/mcandre/hello-docker-freebsd/blob/master/bootstrap.sh
But I'd love to see this configuration managed by pkg for me
* The ca_root_nss package is necessary, but for some reason the docker package does not currently mark ca_root_nss as a dependency.
* The Docker service is not enabled by default. Would be nice for docker_enable="YES" to be concatenated to /etc/rc.conf as a post-install step for the docker package.
* The /usr/docker mountpoint is necessary for the Docker service to start, but this mountpoint is missing out of the box. Would be nice for the docker package to automatically run "zfs create -o mountpoint=/usr/docker zroot/docker" as a post-install step.
So with three minor tweaks, the docker package would become much easier to use by default. Currently, I'm running a bootstrap.sh script to automate these steps.
https://github.com/mcandre/hello-docker-freebsd/blob/master/bootstrap.sh
But I'd love to see this configuration managed by pkg for me