I am trying to launch Kata 2.x containers without K8s. Since Kata-shim-V2 is not compatible with docker, I launched the container using ctr
via containerd
sudo ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/ubuntu:latest bin/bash test
Container launched successfully, but network is not working. It seems to me that the networking is handled at upper layer when integrated into K8s in most use cases. I tried to pass --net-host
argument, but there is a limitation on that.
How can I set up the container network without using k8s? Detailed guide would be very much appreciated.