6f81ec8c67
containers/storage is defaulting to /var/lib/containers/storage for image and containers storage. It is also defaulting to /var/run/containers/storage for all runtime. The defaults for CRI-O should match so that lots of other tools that use containers/storage can share the same storage. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> |
||
---|---|---|
.. | ||
apparmor_test_deny_write | ||
container_config.json | ||
container_config_by_imageid.json | ||
container_config_seccomp.json | ||
container_exit_test.json | ||
container_redis.json | ||
fake_ocid_default | ||
README.md | ||
sandbox_config.json | ||
sandbox_config_hostnet.json | ||
sandbox_config_seccomp.json |
In terminal 1:
sudo ./ocid
In terminal 2:
sudo ./ocic runtimeversion
sudo rm -rf /var/lib/containers/storage/sandboxes/podsandbox1
sudo ./ocic pod run --config testdata/sandbox_config.json
sudo rm -rf /var/lib/containers/storage/containers/container1
sudo ./ocic container create --pod podsandbox1 --config testdata/container_config.json