spiegel_podman/pkg
Valentin Rothberg ce6efadd5c run/create: record raw image
Record the user-specified "raw" image name in the SpecGenerator, so we
can pass it along to the config when creating a container.  We need a
separate field as the image name in the generator may be set to the
ID of the previously pulled image - ultimately the cause of #7404.

Reverting the image name from the ID to the user input would not work
since "alpine" for pulling iterates over the search registries in the
registries.conf but looking up "alpine" normalizes to
"localhost/alpine".

Recording the raw-image name directly in the generator was the best of
the options I considered as no hidden magic from search registries or
normalizations (that may or may not change in the future) can interfere.
The auto-update backend enforces that the raw-image name is a
fully-qualified reference, so we need to worry about that in the front
end.

Fixes: #7407
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-09-15 13:33:22 +02:00
..
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
auth Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
autoupdate Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
bindings Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
cgroups Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
checkpoint Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04: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
domain Merge pull request #7604 from vrothberg/fix-7406 2020-09-11 11:33:34 -04:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling remote run: fix error checks 2020-09-11 12:41:15 +02:00
hooks Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
inspect Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
lookup Turn on More linters 2020-06-15 07:05:56 -04:00
namespaces [CI:DOCS] BZ1860126 - Fix userns defaults in run man page 2020-08-07 15:42:13 -04:00
netns Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
network Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
parallel Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
ps Show c/storage (Buildah/CRI-O) containers in ps 2020-09-09 06:10:02 -04:00
registrar Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
registries Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
resolvconf Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
rootless Wait for reexec to finish when fileOutput is nil 2020-08-15 16:34:58 +01:00
rootlessport rootlessport: use two different channels 2020-04-29 12:35:23 +02:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Turn on More linters 2020-06-15 07:05:56 -04:00
spec Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
specgen run/create: record raw image 2020-09-15 13:33:22 +02:00
systemd generate systemd: catch --name=foo 2020-09-09 14:04:50 +02:00
terminal Set console mode for windows 2020-06-29 09:17:55 -05:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust fix bug podman sign storage path 2020-08-04 15:10:47 -04:00
util pull types allow initial caps 2020-09-12 07:02:04 -04:00
varlink Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
varlinkapi Fix up errors found by codespell 2020-09-11 06:14:25 -04:00