-
Notifications
You must be signed in to change notification settings - Fork 373
podman: how to start a pod with kata? #2147
Comments
I'm using |
Correct me, if I'm wrong, but this question might be better raised to containers/libpod, since there are working examples with containerd/CRI, which would roughly equate to: #!/bin/sh -ex
POD_NAME=asdf
# create *and* launch pod, as `crictl runp` would
podman pod create -n ${POD_NAME} && podman pod start ${POD_NAME}
for i in `seq 2`; do podman run --pod ${POD_NAME} alpine /bin/sh -c 'sleep 3600'; done Except the last line results in this, while leaving created, but non-started containers:
With that said, I'd be interested in a solution to this, as well. |
@zer0def, my goal is not to start a pod, but to start a pod using podman. I've already been able to start a pod using cri-containerd and cri-o. What I'm getting it's a container per VM not in the same VM. |
I understand, but since cri-containerd already does this in a working manner, I would suspect it's podman confusing whether it should just launch a container shim and not a distinct pod sandbox. A quick auditd watch on kata-runtime shows that containerd calls |
Hi,
I'm experimenting kata together with podman (on s390x). I successfully managed to start a single container. Important is to remember to use the
--security-opt label=disable
to avoid the errorError: container create failed: rpc error: code = Unknown desc = selinux label is specified in config, but selinux is disabled or not supported
. Next step is to try multiple containers inside a pod. Any ideas on how to do it?What I tried:
I'm getting 2 containers but not in the same VM. Am I do something wrong?
The text was updated successfully, but these errors were encountered: