podman/libpod/image
Daniel J Walsh 1b5853e647
Properly handle podman run --pull command
Currently the --pull missing|always|never is ignored

This PR implements this for local API.  For remote we
need to default to pullpolicy specified in the containers.conf
file.

Also fixed an issue when images were matching other images names
based on prefix, causing images to always be pulled.

I had named an image myfedora and when ever I pulled fedora, the system
thought that it there were two images named fedora since it was checking
for the name fedora as well as the prefix fedora.  I changed it to check
for fedora and the prefix /fedora, to prefent failures like I had.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-27 07:25:28 -04:00
..
testdata Split refNamesFromImageReference from Runtime.getPullListFromRef 2018-08-01 18:22:58 +00:00
config.go honor pull policy in play kube 2020-01-28 13:36:10 -06:00
df.go system df: fix image-size calculations 2020-09-11 14:48:56 +02:00
docker_registry_options.go Add support for variant when pulling images 2020-08-28 09:36:11 -04:00
errors.go Ensure libpod/define does not include libpod/image 2020-07-31 17:17:56 -04:00
filters.go image list: speed up 2020-08-07 12:14:11 +02:00
image.go Supports import&run--signature-policy 2020-09-15 16:09:33 -04:00
image_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
layer_tree.go make image parent check more robust 2020-09-07 11:28:58 +02:00
manifests.go manifest annotate 2020-05-05 15:01:32 -04:00
parts.go honor pull policy in play kube 2020-01-28 13:36:10 -06:00
parts_test.go Remove imageParts.{isTagged,registry,name,tag} 2019-01-14 04:07:24 +01:00
prune.go Show c/storage (Buildah/CRI-O) containers in ps 2020-09-09 06:10:02 -04:00
pull.go Supports import&run--signature-policy 2020-09-15 16:09:33 -04:00
pull_test.go support multi-image (docker) archives 2020-09-08 08:47:19 +02:00
search.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
signing_options.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
tree.go Refactor image tree for API usage 2020-02-17 11:12:35 +01:00
utils.go Properly handle podman run --pull command 2020-09-27 07:25:28 -04:00