Run docker container on exokernel(BareMetal OS)

I’ve beginner level knowledge in docker.

I want to do PoC to build AOSP(Android) build using ubuntu docker image that will run on an exokernal.

The goal is to see if that has any performance gain and reduces the build time.

I’m also not aware if I have to write some tool to achieve this. Please help.

What’s an exokernel? A container is just an isolation to the underlying Linux system.

If you want to run other kernels or OS, you probably need a VM.

@bluepuma77 Exokernel - Exokernel - Wikipedia

Exokernels can run on both real H/W and VM. I was wondering if running the build on exokernel is any different from monolithic or microkernel.

A Docker container is neither, so I don’t expect it to run.

It would have been probably better to share this part from the wiki:

Exokernel is an operating system kernel developed by the MIT Parallel and Distributed Operating Systems group,[1] and also a class of similar operating systems.

At the bottom of the page this is also written:

The exokernel concept has been around since at least 1994,[3] but as of 2010 exokernels are still a research effort and have not been used in any major commercial operating systems.

And it is still not something widely used and repositories on GitHub are mostly also old and not updated, although some of them are.

Containers strongly depend on the kernel. Not all operating systems support containers. There is no macOS container for example even though macOS and Linux are both unix-like operating systems.

So one thing is sure. Docker is not supported on an exokernel and I’m an exokernel is meant to run containers in any form. Yoi would need to ask an expert on exokernels rather then the Docker community :slight_smile:

Thanks for the feedback. Although, I have a question regarding docker’s requirement

  1. what Docker needs for a kernel level API?
  2. The BareMetal OS supports c applications. How feasible is it to port the general requirements like namespaces, kvm etc to BareMetal and run docker on it?
  3. Also I plan to convert docker to c based .so or .a using cgo and run on baremetal

I think your questions are not those kind of questions you could easily get an answer to on a community forum. Most of the users use Docker, but don’t develop it. And since you basically plan to develop a Docker alternative, if it is not relevant for Docker, I don’t think Docker support or the developers on GitHub would likely help with. You could ask for suppoting new environments in the roadmap

or hope someone knows enough about the implementation to help you, but I don’t think it is likely either unfortunately.

I don’t even understand the question, but it seems to be a too broad question, so you can have a better luck if you have a specific question.

I don’t think I understand it either. Maybe because we discussed the beginning of this topic more than two months ago and I haven’t read everything carefully enough again, but I don’t know how kvm and namespaces are related here. Qemu could be needed for emulation. but not kvm. Since I also don’t know anything (almost) about exokernels, I can’t help you with developing anything for exokernels.

And what is the question here? :slight_smile:

I feel you really need to talk to kernel developers and exokernel users You can ask here about Docker requirements if you have specific questions, otherwise it is far from what Docker users could help you with.