Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can FreeBSD be run inside Docker?

Tags:

docker

freebsd

I have been looking for a Docker image of FreeBSD but cannot find, can FreeBSD be run inside docker? If not, why not?

like image 776
Phil Avatar asked Nov 23 '15 05:11

Phil


People also ask

Can you run FreeBSD on Docker?

This makes the distribution much easier for the devs, as the containers allow the applications to work on various Linux platforms. As of yet, docker isn't supported for the FreeBSD operating system, so there's no way you can use docker on FreeBSD, natively at least.

Can I run a VM inside Docker?

In general, Docker recommends running Docker Desktop natively on either Mac, Linux, or Windows. However, Docker Desktop for Windows can run inside a virtual desktop provided the virtual desktop is properly configured.

Can singularity run Docker images?

Singularity can also start containers directly from Docker images, opening up access to a huge number of existing container images available on Docker Hub and other registries.

Does Docker use OCI?

The Open Container Initiative (OCI) is a Linux Foundation project, started in June 2015 by Docker, to design open standards for operating-system-level virtualization (software containers), most importantly Linux containers.


1 Answers

Technically yes, but you need a FreeBSD host to do it and Docker is "somewhat unstable" on FreeBSD right now. There is a fork from Docker 1.7 that can technically launch containers, but nothing you would want to use for reals. Jetpack will hopefully be finalized for FreeBSD 11 and will provide a much better solution here.

https://wiki.freebsd.org/Docker has info. You can make it work on a fully updated 10.3 but expect lots of weirdness.

like image 167
coderanger Avatar answered Nov 16 '22 00:11

coderanger