cri-o/test/testdata
Antonio Murdaca 2202c1a460
storage: fix image retrieval by id
kubelet sends a request to create a container with an image ID (as
opposed as an image name). That ID comes from the ImageStatus response.
This patch fixes that by setting the image ID as well as the image name
and fix the login to lookup for image ID as well.

Found while running `make test-e2e-node`.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-01-31 16:32:30 +01:00
..
apparmor_test_deny_write add test cases 2016-12-01 21:42:13 +08:00
container_config.json Default type for containers is not container_t 2017-01-25 22:11:30 +01:00
container_config_by_imageid.json storage: fix image retrieval by id 2017-01-31 16:32:30 +01:00
container_config_seccomp.json add seccomp support 2016-11-28 22:05:34 +01:00
container_exit_test.json test: fix and add tests 2016-09-27 10:42:53 +02:00
container_redis.json removing mount from test/testdata/container_redis.json 2016-10-07 12:32:11 -05:00
fake_ocid_default reload default apparmor profile if it is unloaded 2016-12-07 20:19:29 +08:00
README.md cmd/client: move pod create to pod run 2016-12-14 18:15:37 +01:00
sandbox_config.json Fixup cgroup in test sandbox config 2016-12-16 13:33:38 -08:00
sandbox_config_hostnet.json test: Add host pod ping test 2016-12-21 12:24:37 +01:00
sandbox_config_seccomp.json Default type for containers is not container_t 2017-01-25 22:11:30 +01:00

In terminal 1:

sudo ./ocid

In terminal 2:

sudo ./ocic runtimeversion

sudo rm -rf /var/lib/ocid/sandboxes/podsandbox1
sudo ./ocic pod run --config testdata/sandbox_config.json

sudo rm -rf /var/lib/ocid/containers/container1
sudo ./ocic container create --pod podsandbox1 --config testdata/container_config.json