From 4a8a9ce2902bc6c934f84a0864de5e81e01bb568 Mon Sep 17 00:00:00 2001 From: Jonas Xavier Date: Wed, 2 Mar 2022 14:39:05 -0800 Subject: [PATCH] add podman scheme to doc examples (#860) --- README.md | 1 + cmd/packages.go | 1 + cmd/power_user.go | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fb3c9c9f..e85831340 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ Sources can be explicitly provided with a scheme: ``` docker:yourrepo/yourimage:tag use images from the Docker daemon +podman:yourrepo/yourimage:tag use images from the Podman daemon docker-archive:path/to/yourimage.tar use a tarball from disk for archives created from "docker save" oci-archive:path/to/yourimage.tar use a tarball from disk for OCI archives (from Skopeo or otherwise) oci-dir:path/to/yourimage read directly from a path on disk for OCI layout directories (from Skopeo or otherwise) diff --git a/cmd/packages.go b/cmd/packages.go index a5cd1a806..1666f3c7c 100644 --- a/cmd/packages.go +++ b/cmd/packages.go @@ -42,6 +42,7 @@ const ( schemeHelpHeader = "You can also explicitly specify the scheme to use:" imageSchemeHelp = ` {{.appName}} {{.command}} docker:yourrepo/yourimage:tag explicitly use the Docker daemon + {{.appName}} {{.command}} podman:yourrepo/yourimage:tag explicitly use the Podman daemon {{.appName}} {{.command}} registry:yourrepo/yourimage:tag pull image directly from a registry (no container runtime required) {{.appName}} {{.command}} docker-archive:path/to/yourimage.tar use a tarball from disk for archives created from "docker save" {{.appName}} {{.command}} oci-archive:path/to/yourimage.tar use a tarball from disk for OCI archives (from Skopeo or otherwise) diff --git a/cmd/power_user.go b/cmd/power_user.go index c736204c0..e5c7c0041 100644 --- a/cmd/power_user.go +++ b/cmd/power_user.go @@ -26,7 +26,7 @@ const powerUserExample = ` {{.appName}} {{.command}} DEPRECATED - THIS COMMAND WILL BE REMOVED in v1.0.0 - Only image sources are supported (e.g. docker: , docker-archive: , oci: , etc.), the directory source (dir:) is not supported. + Only image sources are supported (e.g. docker: , podman: , docker-archive: , oci: , etc.), the directory source (dir:) is not supported. All behavior is controlled via application configuration and environment variables (see https://github.com/anchore/syft#configuration) `