From 4c509eabbd797a004a36731ecd90d3e3f6bc43e3 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Thu, 11 Feb 2021 10:48:43 +0100 Subject: [PATCH] Update kata install --- docker-install-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-install-all.sh b/docker-install-all.sh index 23943b7..dd68709 100755 --- a/docker-install-all.sh +++ b/docker-install-all.sh @@ -26,7 +26,7 @@ mem=$(sed -E 's/^MemTotal: +([0-9]+) kB/\1/p;d' < /proc/meminfo) mempercore=$(((mem/1024-4096)/cores)) # install kata containers -cid=$(docker run --runtime=runc -v /opt/kata:/opt/kata -v /var/run/dbus:/var/run/dbus -v /run/systemd:/run/systemd -v /etc/docker:/etc/docker -it katadocker/kata-deploy kata-deploy-docker install) +cid=$(docker run -d --runtime=runc -v /opt/kata:/opt/kata -v /var/run/dbus:/var/run/dbus -v /run/systemd:/run/systemd -v /etc/docker:/etc/docker -it katadocker/kata-deploy kata-deploy-docker install) # wait for finish while [ "$(docker container inspect -f '{{.State.Running}}' "$cid")" == "true" ]; do sleep 1