-
Notifications
You must be signed in to change notification settings - Fork 304
Document how to set up Kata with [project Atomic](https://www.projectatomic.io/) #222
Comments
Steps for basic setup (Done on the Atomic Vagrant Libvirt image from the Atomic site): Add the Kata repositoryPaste the following to /etc/yum.repos.d/kata.repo (NOTE: gpg disabled for now)
Refresh metadata and install packages
Reboot
Modify Docker startup configurationsEnable hotfix mode:
Disable SELinux by removing --selinux-enable from /etc/sysconfig/docker Modify /usr/lib/systemd/system/docker.service: Rebootsudo systemctl reboot Test
|
This was done on the default docker installation that comes along with Atomic (1.13.1). I'll update once I manage to install latest Docker CE on it. |
Thanks for looking at this @xzr! Out of interest, what happens if you don't disable SELinux? |
Planning on creating an issue for it once I grasp the whole setup a little better. The behavior is the same on 1.13.1 and latest Docker CE |
Thanks @xzr - it would be great to get more details. If you enable full debug and then paste the output of The error you are seeing though is from: This checks to see if SELinux is enabled on the "host" (which for Kata is actually the VM guest). However, since none of the osbuilder images or guest kernels enable SELinux, the error you get makes sense. It would be interesting if someone built a guest kernel with SELinux support and tried this out with Kata. |
Hey, that does make sense, thanks! I'll see if I can rebuild the kernel and test it out. |
Nice! |
For future reference (I see the --security-opt option thing) Output of kata-collect-data.sh:
|
…-bump # Kata Containers 1.5.0-rc2
Project Atomic lives on top of Docker, and thus should be able to work with Kata.
There may be some interesting 'wrinkles', as Atomic aiui is heavy on security and SELinux, but it has been show that it can be configured to work in a basic mode at least to some extent.
Let's document that, and then see where we can head with it next.
The text was updated successfully, but these errors were encountered: