Matthew Heon
f7c3cfde77
Add small fixes for 'podman run' from diffing inspect
...
To try and identify differences between Podman v1.9 and master,
I ran a series of `podman run` commands with various flags
through each, then inspecting the resulting containers and diffed
the inspect JSON between each. This identified a number of issues
which are fixed in this PR.
In order of discovery:
- Podman v2 gave short names for images, where Podman v1 gave the
fully-qualified name. Simple enough fix (get image tags and use
the first one if they're available)
- The --restart flag was not being parsed correctly when a number
of retries was specified. Parsing has been corrected.
- The -m flag was not setting the swap limit (simple fix to set
swap in that case if it's not explicitly set by the user)
- The --cpus flag was completely nonfunctional (wired in its
logic)
Tests have been added for all of these to catch future
regressions.
Signed-off-by: Matthew Heon <matthew.heon@pm.me >
2020-05-05 20:21:01 -04:00
..
2020-04-02 13:10:08 -04:00
2020-05-01 15:00:26 -04:00
2018-04-05 14:13:49 +00:00
2020-04-29 23:47:15 -04:00
2020-04-28 08:58:06 +02:00
2020-04-03 18:00:57 +02:00
2020-04-24 15:20:04 -04:00
2020-04-29 08:24:56 -07:00
2019-05-29 15:12:05 -05:00
2019-05-29 15:12:05 -05:00
2020-04-21 13:48:50 -05:00
2020-04-25 13:36:11 -05:00
2020-05-01 15:00:33 -04:00
2020-04-29 15:40:31 +02:00
2020-04-22 06:57:06 -04:00
2019-11-07 18:38:02 +01:00
2020-05-05 20:21:01 -04:00
2019-06-21 13:37:04 +02:00
2019-08-02 11:47:43 -04:00
2020-04-28 15:32:59 +02:00
2020-04-22 09:53:05 -07:00
2019-10-16 08:10:07 -07:00
2020-04-21 13:48:50 -05:00
2020-04-29 07:22:18 +02:00
2020-04-27 11:31:47 +02:00
2019-05-29 15:12:05 -05:00
2020-04-29 08:24:56 -07:00
2019-12-04 18:55:30 -05:00
2020-04-22 14:02:32 -04:00
2020-04-24 17:33:27 +02:00
2020-04-29 07:25:31 +02:00
2019-10-16 08:10:07 -07:00
2020-04-09 10:17:42 +02:00
2020-04-09 10:17:42 +02:00
2020-04-27 10:20:53 -05:00
2020-04-21 13:48:50 -05:00
2020-01-10 10:35:19 +01:00
2020-04-24 14:57:56 -04:00
2020-01-11 06:32:19 -05:00
2019-05-29 15:12:05 -05:00
2019-10-16 08:10:07 -07:00
2020-05-01 09:20:52 -05:00
2020-05-01 09:20:52 -05:00
2020-04-27 11:59:22 +02:00
2020-04-21 13:48:50 -05:00
2020-04-27 13:12:24 +02:00
2020-04-27 17:08:56 +02:00
2020-04-26 16:38:52 -04:00
2020-04-26 07:27:41 -04:00
2020-04-27 11:59:22 +02:00
2020-04-27 17:08:56 +02:00
2020-04-26 07:27:41 -04:00
2020-04-25 13:13:32 -05:00
2020-04-27 13:41:58 +02:00
2020-04-27 14:02:54 +02:00
2020-04-27 17:08:56 +02:00
2020-04-27 12:00:35 +02:00
2020-04-27 13:19:35 +02:00
2020-04-26 07:27:41 -04:00
2020-04-21 13:48:50 -05:00
2020-05-01 13:57:16 -04:00
2020-04-27 09:51:26 -04:00
2020-04-22 14:30:40 -04:00
2020-04-29 14:35:48 +02:00
2020-04-27 09:08:27 -05:00
2020-04-22 11:53:00 -04:00
2020-04-29 08:24:56 -07:00
2020-04-24 13:05:43 +02:00
2019-09-12 21:01:43 +00:00
2019-10-16 08:10:07 -07:00
2020-04-22 06:57:06 -04:00
2020-04-26 07:27:41 -04:00
2020-04-30 11:33:36 +02:00
2020-04-28 16:29:01 -04:00
2019-09-17 12:01:02 -04:00
2020-02-25 12:34:26 -05:00
2020-05-04 20:57:27 -04:00
2020-04-26 10:42:40 -05:00
2020-04-26 07:27:41 -04:00
2019-05-29 15:12:05 -05:00
2020-04-26 10:44:17 -05:00
2020-01-09 17:57:58 +01:00
2020-03-02 16:37:32 -05:00
2020-04-22 06:57:06 -04:00
2020-04-26 10:34:47 -05:00
2020-02-26 08:30:28 -06:00
2020-04-30 11:33:37 +02:00
2020-04-24 15:55:38 +02:00
2020-04-27 16:12:06 -05:00
2020-04-21 13:48:50 -05:00
2020-04-28 16:16:30 -04:00
2020-04-29 16:28:18 +02:00
2020-04-30 15:49:12 +02:00
2020-05-05 08:46:51 -05:00
2020-04-22 09:52:33 -04:00
2020-04-21 13:48:50 -05:00
2020-04-21 13:48:50 -05:00
2020-04-21 13:48:50 -05:00
2019-05-29 15:12:05 -05:00
2019-11-06 10:35:37 -05:00
2019-05-29 15:12:05 -05:00
2019-07-08 12:31:31 -05:00
2020-04-21 13:48:50 -05:00
2019-05-29 15:12:05 -05:00
2020-04-22 14:13:07 -04:00
2020-04-29 09:15:24 -07:00
2020-04-27 16:12:06 -05:00
2020-04-27 16:12:06 -05:00
2020-04-27 16:12:06 -05:00
2020-05-01 13:57:16 -04:00
2020-04-27 16:12:06 -05:00
2019-05-29 15:12:05 -05:00