Paul Holzinger
5952486df8
podman network inspect: include running containers
...
Like docker podman network inspect should output the information of
running container with their ip/mac address on this network.
However the output format is not docker compatible as this cannot
include all the info we have and the previous output was already not
compatible so this is not new.
New example output:
```
[
{
...
"containers": {
"7c0d295779cee4a6db7adc07a99e635909413a390eeab9f951edbc4aac406bf1": {
"name": "c2",
"interfaces": {
"eth0": {
"subnets": [
{
"ipnet": "10.89.0.4/24",
"gateway": "10.89.0.1"
},
{
"ipnet": "fda3:b4da:da1e:7e9d::4/64",
"gateway": "fda3:b4da:da1e:7e9d::1"
}
],
"mac_address": "1a:bd:ca:ea:4b:3a"
}
}
},
"b17c6651ae6d9cc7d5825968e01d6b1e67f44460bb0c140bcc32bd9d436ac11d": {
"name": "c1",
"interfaces": {
"eth0": {
"subnets": [
{
"ipnet": "10.89.0.3/24",
"gateway": "10.89.0.1"
},
{
"ipnet": "fda3:b4da:da1e:7e9d::3/64",
"gateway": "fda3:b4da:da1e:7e9d::1"
}
],
"mac_address": "f6:50:e6:22:d9:55"
}
}
}
}
}
]
```
Fixes #14126
Fixes https://issues.redhat.com/browse/RHEL-3153
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2024-02-28 16:33:26 +01:00
..
2023-02-03 08:42:20 -06:00
2024-02-17 07:37:26 -05:00
2023-11-23 20:07:48 +02:00
2024-01-23 07:28:40 -05:00
2023-08-22 16:19:06 +02:00
2024-02-19 08:58:17 -05:00
2024-02-19 08:53:38 -05:00
2023-08-02 15:01:16 +01:00
2023-07-24 19:23:04 +02:00
2023-05-28 18:57:43 +02:00
2023-05-16 15:10:33 -04:00
2024-02-19 15:18:51 -05:00
2023-05-16 15:10:33 -04:00
2023-05-16 15:10:33 -04:00
2024-01-23 07:28:40 -05:00
2024-02-19 15:18:51 -05:00
2023-07-23 17:31:29 +02:00
2023-07-23 17:31:29 +02:00
2023-05-28 18:57:43 +02:00
2024-02-19 15:19:40 -05:00
2024-02-19 15:26:08 -05:00
2024-02-19 15:53:03 -05:00
2024-02-22 12:10:57 +01:00
2024-02-17 13:54:14 -05:00
2024-02-18 12:26:33 -05:00
2024-02-18 08:02:29 -05:00
2024-02-18 08:02:29 -05:00
2024-02-18 08:02:29 -05:00
2024-02-18 08:02:29 -05:00
2024-02-18 08:02:29 -05:00
2024-02-08 18:05:32 +01:00
2023-05-16 15:10:33 -04:00
2023-08-03 06:58:53 -04:00
2023-08-03 06:58:53 -04:00
2024-02-17 13:54:15 -05:00
2024-02-20 05:38:19 -05:00
2024-02-18 07:41:47 -05:00
2024-02-18 07:41:47 -05:00
2024-02-18 07:41:47 -05:00
2024-02-18 07:41:47 -05:00
2024-02-18 07:41:47 -05:00
2024-02-18 07:41:47 -05:00
2023-05-18 16:44:24 -07:00
2024-02-18 07:41:47 -05:00
2024-02-18 07:41:47 -05:00
2024-02-18 07:41:47 -05:00
2023-05-28 18:57:43 +02:00
2024-02-20 05:39:27 -05:00
2024-02-18 12:26:33 -05:00
2024-02-17 13:54:19 -05:00
2024-01-23 07:28:40 -05:00
2024-02-20 05:45:41 -05:00
2024-02-19 10:06:05 -05:00
2023-11-06 14:53:35 +01:00
2023-05-16 15:10:33 -04:00
2024-02-20 14:58:35 -08:00
2024-02-20 14:58:35 -08:00
2023-05-16 15:10:33 -04:00
2024-01-25 15:59:18 -07:00
2024-02-18 19:10:40 -05:00
2024-02-18 19:10:40 -05:00
2023-07-24 11:18:25 +02:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-22 08:34:27 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2023-02-15 14:48:12 -05:00
2024-02-18 08:43:12 -06:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-18 08:43:12 -06:00
2024-02-17 13:54:04 -05:00
2024-02-17 13:54:04 -05:00
2024-01-23 07:28:40 -05:00
2024-02-17 13:54:04 -05:00
2024-01-23 07:28:40 -05:00
2024-02-17 13:54:04 -05:00
2024-02-17 13:54:04 -05:00
2024-01-27 19:03:35 -05:00
2023-05-16 15:10:33 -04:00
2024-02-19 15:22:23 -05:00
2024-02-18 07:48:08 -05:00
2024-02-05 13:57:24 +01:00
2024-02-18 07:48:08 -05:00
2024-02-18 07:48:08 -05:00
2024-02-28 16:33:26 +01:00
2024-02-18 07:48:08 -05:00
2024-02-18 07:48:08 -05:00
2024-02-18 07:48:08 -05:00
2024-02-18 07:48:08 -05:00
2024-02-18 07:48:08 -05:00
2023-11-06 10:45:59 +01:00
2024-02-18 12:42:07 -05:00
2024-01-30 14:59:02 +00:00
2024-01-30 14:59:02 +00:00
2024-02-19 10:03:30 -05:00
2024-02-19 10:03:30 -05:00
2024-02-19 10:03:30 -05:00
2024-02-19 10:03:30 -05:00
2024-02-19 10:03:30 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-19 10:03:30 -05:00
2024-02-19 10:03:30 -05:00
2024-02-19 10:03:30 -05:00
2024-02-19 10:03:30 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-19 10:03:30 -05:00
2023-05-28 18:57:43 +02:00
2024-02-20 05:46:41 -05:00
2024-01-23 07:28:40 -05:00
2024-02-17 07:37:26 -05:00
2024-02-20 05:48:04 -05:00
2023-09-17 07:37:14 -04:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-17 13:54:24 -05:00
2023-05-28 18:57:43 +02:00
2024-01-30 14:59:02 +00:00
2024-01-23 07:28:40 -05:00
2024-02-05 11:37:01 -06:00
2024-02-24 19:00:54 +11:00
2023-05-16 15:10:33 -04:00
2024-01-23 07:28:40 -05:00
2024-01-27 19:03:35 -05:00
2024-01-23 07:28:40 -05:00
2023-04-03 15:33:50 +03:00
2024-02-17 13:54:25 -05:00
2024-02-20 05:49:04 -05:00
2024-01-23 07:28:40 -05:00
2024-02-20 08:18:51 -05:00
2024-02-20 08:18:51 -05:00
2024-02-20 08:18:51 -05:00
2024-02-20 08:18:51 -05:00
2024-02-20 08:18:51 -05:00
2024-02-20 08:18:51 -05:00
2024-02-20 08:18:51 -05:00
2023-05-16 15:10:33 -04:00
2023-09-18 07:41:28 -06:00
2023-05-16 15:10:33 -04:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2023-05-28 18:57:43 +02:00
2024-02-08 17:48:36 +01:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-19 15:22:23 -05:00
2024-02-18 12:42:07 -05:00
2024-02-17 13:54:29 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2022-09-15 09:59:32 -06:00
2024-01-23 07:28:40 -05:00
2023-05-16 15:10:33 -04:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-19 10:09:06 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-01-23 07:28:40 -05:00
2024-02-19 10:09:06 -05:00
2023-05-28 18:57:43 +02:00
2024-01-25 15:59:18 -07:00
2024-02-08 18:05:32 +01:00
2023-09-30 17:33:17 +05:30