1 comment

[ 0.19 ms ] story [ 22.2 ms ] thread
This is step-by-step instruction how you can run your docker and docker-compose projects/code in FreeBSD.

Solution is based on bhyve and vm-bhyve, and great Alpine Linux distribution.

Alpine is installed inside a VM, and docker and docker-compose are installed inside that VM.

After that, we setup FUSE-base SSHFS mount that points from Alpine VM directory to FreeBSD host directory.

As a result, code editing is done on FreeBSD host machine, code is synced inside Alpine VM, and inside VM we run docker and docker-compose.

This is similar how Docker Desktop (Docker for Windows and Docker for Mac) are developed.