mirror of
https://github.com/containers/podman.git
synced 2025-10-11 16:26:00 +08:00
docs(run,create): note remote clients support only docker transport
On remote clients (incl. Mac/Windows, excl. WSL2), file-based transports (oci-archive:, docker-archive:, docker-daemon:) are not supported. Also fix trailing whitespace per pre-commit. Signed-off-by: shiavm006 <shivammittal42006@gmail.com>
This commit is contained in:
@ -49,12 +49,14 @@ file, and it must not contain a digest.
|
||||
|
||||
$ podman save --format docker-archive fedora -o /tmp/fedora
|
||||
$ podman create docker-archive:/tmp/fedora echo hello
|
||||
Note: On remote clients, including Mac and Windows (excluding WSL2) machines, this transport is not supported.
|
||||
|
||||
**docker-daemon:**_docker-reference_
|
||||
An image in _docker-reference_ format stored in the docker daemon internal storage. The _docker-reference_ can also be an image ID (docker-daemon:algo:digest).
|
||||
|
||||
$ sudo docker pull fedora
|
||||
$ sudo podman create docker-daemon:docker.io/library/fedora echo hello
|
||||
Note: On remote clients, including Mac and Windows (excluding WSL2) machines, this transport is not supported.
|
||||
|
||||
**oci-archive:**_path_**:**_tag_
|
||||
An image in a directory compliant with the "Open Container Image Layout Specification" at the specified _path_
|
||||
@ -62,6 +64,7 @@ and specified with a _tag_.
|
||||
|
||||
$ podman save --format oci-archive fedora -o /tmp/fedora
|
||||
$ podman create oci-archive:/tmp/fedora echo hello
|
||||
Note: On remote clients, including Mac and Windows (excluding WSL2) machines, this transport is not supported.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
|
@ -69,12 +69,14 @@ file, and it must not contain a digest.
|
||||
|
||||
$ podman save --format docker-archive fedora -o /tmp/fedora
|
||||
$ podman run docker-archive:/tmp/fedora echo hello
|
||||
Note: On remote clients, including Mac and Windows (excluding WSL2) machines, this transport is not supported.
|
||||
|
||||
**docker-daemon:**_docker-reference_
|
||||
An image in _docker-reference_ format stored in the docker daemon internal storage. The _docker-reference_ can also be an image ID (docker-daemon:algo:digest).
|
||||
|
||||
$ sudo docker pull fedora
|
||||
$ sudo podman run docker-daemon:docker.io/library/fedora echo hello
|
||||
Note: On remote clients, including Mac and Windows (excluding WSL2) machines, this transport is not supported.
|
||||
|
||||
**oci-archive:**_path_**:**_tag_
|
||||
An image in a directory compliant with the "Open Container Image Layout Specification" at the specified _path_
|
||||
@ -82,6 +84,7 @@ and specified with a _tag_.
|
||||
|
||||
$ podman save --format oci-archive fedora -o /tmp/fedora
|
||||
$ podman run oci-archive:/tmp/fedora echo hello
|
||||
Note: On remote clients, including Mac and Windows (excluding WSL2) machines, this transport is not supported.
|
||||
|
||||
## OPTIONS
|
||||
@@option add-host
|
||||
|
Reference in New Issue
Block a user