Stux
MVP
- Joined
- Jun 2, 2016
- Messages
- 4,419
Docker on FreeBSD is a non starter.
Docker is an LXC based technology which exposes the host kernel to the docker containers own user land (which is shared with other containers, and inherited etc)
The key is the one thing you don't change in a docker container is the host kernel. It has to be Linux, or it won't work with all the docker images out there.
Docker for FreeBSD is probably jail based and uses the docker suite to do the same thing as docker, but docker it is not.
And Dan, the neat thing with docker is a container is disposable and cheap, in much the same way that snapshots and clones are to ZFS. The only piece of persistence you need is the docker file. Which is just a recipe to spin up a new instance, including all the inherited images.
Then mix in cheap image caching and cloning. In fact on Linux, docker can use ZFS as a backing store and when you download an image, it will use ZFS clones to clone it for an inherited image.
The true pity is that Linux docker on FreeBSD can't (currently) hit up ZFS for its shenanigans.
Docker is an LXC based technology which exposes the host kernel to the docker containers own user land (which is shared with other containers, and inherited etc)
The key is the one thing you don't change in a docker container is the host kernel. It has to be Linux, or it won't work with all the docker images out there.
Docker for FreeBSD is probably jail based and uses the docker suite to do the same thing as docker, but docker it is not.
And Dan, the neat thing with docker is a container is disposable and cheap, in much the same way that snapshots and clones are to ZFS. The only piece of persistence you need is the docker file. Which is just a recipe to spin up a new instance, including all the inherited images.
Then mix in cheap image caching and cloning. In fact on Linux, docker can use ZFS as a backing store and when you download an image, it will use ZFS clones to clone it for an inherited image.
The true pity is that Linux docker on FreeBSD can't (currently) hit up ZFS for its shenanigans.
Last edited by a moderator: