Skip to content

Instantly share code, notes, and snippets.

@aphexddb
Last active December 15, 2017 20:26
Show Gist options
  • Save aphexddb/f396179b52211e6b3d9a2fd548528482 to your computer and use it in GitHub Desktop.
Save aphexddb/f396179b52211e6b3d9a2fd548528482 to your computer and use it in GitHub Desktop.
pfsense notes

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment