cri-o/test/testdata
Antonio Murdaca af0a494251
container_create: handle cap add/drop ALL
Kubelet can send cap add/drop ALL. Handle that in CRI-O as well.
Also, this PR is re-vendoring runtime-tools to fix capabilities add to
add caps to _all_ caps set **and** fix a shared memory issue (caps set
were initialized with the same slice, if one modifies one slice, it's
reflected on the other slices, the vendoring fixes this as well)

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-07 16:43:33 +02:00
..
apparmor_test_deny_write add test cases 2016-12-01 21:42:13 +08:00
container_config.json container_create: handle cap add/drop ALL 2017-09-07 16:43:33 +02:00
container_config_by_imageid.json container_create: handle cap add/drop ALL 2017-09-07 16:43:33 +02:00
container_config_hostport.json container_create: handle cap add/drop ALL 2017-09-07 16:43:33 +02:00
container_config_logging.json container_create: handle cap add/drop ALL 2017-09-07 16:43:33 +02:00
container_config_resolvconf.json container_create: handle cap add/drop ALL 2017-09-07 16:43:33 +02:00
container_config_resolvconf_ro.json container_create: handle cap add/drop ALL 2017-09-07 16:43:33 +02:00
container_config_seccomp.json container_create: handle cap add/drop ALL 2017-09-07 16:43:33 +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 testdata: Remove hostport from sandbox_config 2017-06-22 08:51:50 -07:00
sandbox_config_hostnet.json testdata: Remove hostport from sandbox_config 2017-06-22 08:51:50 -07:00
sandbox_config_hostport.json test: hostport network test 2017-06-22 15:46:15 -07:00
sandbox_config_seccomp.json testdata: Remove hostport from sandbox_config 2017-06-22 08:51:50 -07: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