News for hackers. Stuff that matters.
Re:Fully functional Docker on FreeBSD using VM-bhyve and ssh... by mtasic on Monday November 09, 2020 @01:12PM (#25037685)
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.