I successfully pulled and ran Docker images on FreeBSD yesterday. Linux docker images. On FreeBSD.

No VMs. No jails. Just works.

Reply to this note

Please Login to reply.

Discussion

pkg install runj containerd

service containerd onestart

# required dir that should probably be created by containerd anyway

mkdir /var/lib/containerd/io.containerd.snapshotter.v1.zfs

ctr image pull --platform=linux docker.io/library/alpine:latest

ctr run --rm --tty --runtime wtf.sbk.runj.v1 --snapshotter zfs --platform linux docker.io/library/alpine:latest mylinuxcontainer uname -a

Linux 4.4.0 FreeBSD 13.2-RELEASE-p2 GENERIC x86_64 Linux

source: https://productionwithscissors.run/2022/09/04/containerd-linux-on-freebsd/