cri-o/test/testdata
Antonio Murdaca 4dcf33581c
test: add CGROUP_MANAGER env to switch to systemd
default is still cgroupfs

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-05-18 17:39:49 +02:00
..
apparmor_test_deny_write add test cases 2016-12-01 21:42:13 +08:00
container_config.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_config_by_imageid.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_config_logging.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_config_seccomp.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_exit_test.json server: fix set caps on container create 2017-05-05 16:31:52 +02:00
container_redis.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_redis_device.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
fake_ocid_default Rename ocid to crio. 2017-05-12 09:56:06 -04:00
README.md Rename ocid to crio. 2017-05-12 09:56:06 -04:00
sandbox_config.json test: add CGROUP_MANAGER env to switch to systemd 2017-05-18 17:39:49 +02:00
sandbox_config_hostnet.json test: add CGROUP_MANAGER env to switch to systemd 2017-05-18 17:39:49 +02:00
sandbox_config_seccomp.json test: add CGROUP_MANAGER env to switch to systemd 2017-05-18 17:39:49 +02:00

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