8b4e3036ea
This patch isn't adding a test for /etc/hosts as that requires host network and we don't want to play with host's /etc/hosts when running make localintegration on our laptops. That may change in the future moving to some sort of in-container testing. Signed-off-by: Antonio Murdaca <runcom@redhat.com> |
||
---|---|---|
.. | ||
apparmor_test_deny_write | ||
container_config.json | ||
container_config_by_imageid.json | ||
container_config_logging.json | ||
container_config_resolvconf.json | ||
container_config_resolvconf_ro.json | ||
container_config_seccomp.json | ||
container_exit_test.json | ||
container_redis.json | ||
container_redis_device.json | ||
fake_ocid_default | ||
README.md | ||
sandbox_config.json | ||
sandbox_config_hostnet.json | ||
sandbox_config_seccomp.json |
In terminal 1:
sudo ./crio
In terminal 2:
sudo ./crioctl runtimeversion
sudo rm -rf /var/lib/containers/storage/sandboxes/podsandbox1
sudo ./crioctl pod run --config testdata/sandbox_config.json
sudo rm -rf /var/lib/containers/storage/containers/container1
sudo ./crioctl container create --pod podsandbox1 --config testdata/container_config.json