kata-containers / community

Apache License 2.0
213 stars 71 forks source link

Problem with Kata Container installation #378

Open bvbreq opened 1 year ago

bvbreq commented 1 year ago

Hi,

I have followed the installation steps on GitHub from this URL: https://github.com/kata-containers/kata-containers/blob/main/docs/how-to/containerd-kata.md#install-cni-plugins, but I have encountered a problem that I cannot solve.

Firstly, I used 'kata-manager.sh' to install a simple system of Kata Containers, but I noticed that the container doesn't have network interfaces (only loopback).

Subsequently, I followed the steps from the URL mentioned above:

Nevertheless, my container still does not have network interfaces. I haven't configured '/opt/kata/share/defaults/kata-containers/configuration.toml' since the document doesn't provide any information about that.

Finally, I want to mention that I'm working from a virtual machine running Ubuntu 22.04 with virtualization enabled. When I use 'kata-runtime check,' the response indicates that I have a system capable of running Kata, but the issue might be related to the fact that I'm using a virtual machine.

I have attached two files in a zip ( '/etc/cni/net.d/10-mynet.conf' and '/etc/containerd/config.toml') and a screenshot from the container showing no interfaces.

Please let me know if you need any further information.

Best regards, Bruno V

image

mail.zip