spiegel_podman/pkg
Sascha Grunert df036f9f8e
Add ContainerManager annotation to created containers
This change adds the following annotation to every container created by
podman:

```json
"Annotations": {
    "io.containers.manager": "libpod"
}
```

Target of this annotaions is to indicate which project in the containers
ecosystem is the major manager of a container when applications share
the same storage paths. This way projects can decide if they want to
manipulate the container or not. For example, since CRI-O and podman are
not using the same container library (libpod), CRI-O can skip podman
containers and provide the end user more useful information.

A corresponding end-to-end test has been adapted as well.

Relates to: https://github.com/cri-o/cri-o/pull/2761

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-09-10 09:37:14 +02:00
..
adapter Merge pull request #3896 from mheon/volume_lookup 2019-09-09 21:48:30 +02:00
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
apparmor golangci-lint round #3 2019-07-21 14:22:39 -05:00
cgroups Fix error message on podman stats on cgroups v1 rootless environments 2019-08-19 07:41:50 -04:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
errorhandling first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
hooks Running Podman with a nonexistent hooks dir is nonfatal 2019-08-13 15:05:42 -04:00
inspect Begin to break up pkg/inspect 2019-06-03 15:54:53 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
lookup pkg/lookup: Return ID-only pointers on ErrNo*Entries 2018-12-04 14:46:43 -08:00
namespaces namespaces: fix Container() call 2019-08-07 13:11:08 -04:00
netns Revert "rootless: Rearrange setup of rootless containers" 2019-08-06 09:51:38 -05:00
network podman network create 2019-09-09 09:32:43 -05:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries Use the logical registry location instead of the physical one in (podman info) 2019-06-14 15:46:17 +02:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless pkg/util: use rootless function to read additional users 2019-09-03 14:38:08 +02:00
spec Merge pull request #3876 from mheon/fix_mount_flags 2019-09-04 22:43:41 +02:00
sysinfo golangci-lint round #3 2019-07-21 14:22:39 -05:00
systemdgen generate systemd: support pods and geneartig files 2019-08-21 17:28:30 +02:00
tracing trivial cleanups from golang 2019-07-03 15:41:33 -05:00
trust trivial cleanups from golang 2019-07-03 15:41:33 -05:00
util Fixup util.GetRootlessConfigHomeDir permission requirements 2019-09-09 15:17:42 +02:00
varlinkapi Add function for looking up volumes by partial name 2019-09-09 12:06:10 -04:00