How to run *BSD (Open, Free, etc.) on Docker?
I am using Docker for Mac.
But There is no BSD image on Docker Hub.
How I can run it?
Docker doesn't actually run a full OS. Because it uses the host's kernel to run the container contents, it's not able to run a different kernel than the one used by its host OS. Further, as far as I understand, Docker relies on Linux-specific features for its fundamental operation. So it's not possible to run it with a BSD or another non-Linux kernel, including the XNU kernel used by MacOS, as its host environment. On a Mac, Docker actually runs within a virtualized Linux environment, so its host environment is Linux.
Now, in theory, if someone got a BSD userland to run on a Linux kernel, it might be possible to have a nearly-BSD Docker container. However, some research suggests that no project doing this has succeeded.
All of that means that there's no way to run a true BSD as a Docker image, which is why there is no BSD image for Docker.