You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2021. It is now read-only.
We should set a default to the current directory. Today this doesn't work.
cli.StringFlag{
Name: "bundle, b",
Value: "",
Usage: `path to the root of the bundle directory, defaults to the current directory`,
},
To reproduce:
# create the top most bundle directory
mkdir /mycontainer
cd /mycontainer
# create the rootfs directory
mkdir rootfs
# export busybox via Docker into the rootfs directory
docker export $(docker create busybox) | tar -C rootfs -xvf -
runc spec
# run as root
cd /mycontainer
kata-runtime run mycontainerid
Description of problem
https://github.com/kata-containers/runtime/blob/master/cli/run.go#L34
We should set a default to the current directory. Today this doesn't work.
To reproduce: