cri-o/server
Antonio Murdaca 96fb47213e
container_create: correctly set user
We had a bug in ImageStatus where we weren't returning the default
image user if set, thus running all containers as root despite a user
being set in the image config. We weren't populating the Username field
of ImageStatus.
This patch fixes that along with the handling of multiple images based
on the registry patch for multiple images.
It also fixes ListImages to return Username as well.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2018-02-14 13:17:20 +01:00
..
apparmor container_create: fix apparmor from container config 2017-11-30 16:12:16 +01:00
fixtures Adding unit tests for server/secrets.go 2017-11-29 17:42:19 +08:00
metrics server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
seccomp container_create: fix seccomp annotations 2017-09-25 21:08:11 +02:00
config.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
config_test.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
container_attach.go container_attach: Ensure ctl file is closed 2018-01-25 17:04:01 -08:00
container_create.go container_create: correctly set user 2018-02-14 13:17:20 +01:00
container_exec.go container_exec: fix terminal true process json 2017-12-07 20:51:05 +01:00
container_execsync.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_list.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
container_portforward.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_remove.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_start.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_stats.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_stats_list.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_status.go container_status: expose LogPath as requested by the CRI 2018-02-12 11:38:27 +01:00
container_stop.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_update_resources.go allow update running/created container. 2017-11-11 11:04:07 -05:00
container_updateruntimeconfig.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
image_fs_info.go Implement the stats for the image_fs_info command 2018-01-29 10:01:19 -08:00
image_list.go container_create: correctly set user 2018-02-14 13:17:20 +01:00
image_pull.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
image_remove.go Switch to ImageServer.UntagImage in RemoveImage handler 2017-12-14 14:23:53 -05:00
image_status.go container_create: correctly set user 2018-02-14 13:17:20 +01:00
inspect.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
inspect_test.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
naming.go server: Rename infra container to POD 2017-09-01 08:47:55 -07:00
runtime_status.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
sandbox_list.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
sandbox_network.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
sandbox_remove.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
sandbox_run.go sandbox: restore portMappings on restart 2018-02-12 11:32:17 +01:00
sandbox_status.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
sandbox_stop.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
secrets.go Fixed logic flaw in the secrets mounts 2017-10-17 13:08:42 -04:00
secrets_test.go Adding unit tests for server/secrets.go 2017-11-29 17:42:19 +08:00
server.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
utils.go Merge pull request #1192 from runcom/no-libkpod 2017-12-01 08:44:44 -05:00
utils_test.go container_create: correctly set image and kube envs 2017-11-30 12:28:50 +01:00
version.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00