c31f2cf0ee
This is necessary, as otherwise ocid will use its own current directory as a log_directory, which is not the best idea in the world. The same applies for log_path. Signed-off-by: Aleksa Sarai <asarai@suse.de> |
||
---|---|---|
.. | ||
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