regclient / regclient

Docker and OCI Registry Client in Go and tooling using those libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] import image from stdin

qiuchengxuan opened this issue · comments

Current Behavior

regctl image export busybox:latest -p linux/amd64 | regctl image import ocidir://busybox:latest -
open -: no such file or directory
WARN[0000] Changing TLS settings for registry            host=docker.io new=disabled orig=enabled

Expected Behavior

When import image, able to use '-' as stdin

Example Solution

regctl image import ocidir://busybox:latest -

Version

regctl version
VCSTag:     v0.6.1
VCSRef:     766ee6291f882778207ff42207f9ca8b1da54e57
VCSCommit:  766ee6291f882778207ff42207f9ca8b1da54e57
VCSState:   clean
VCSDate:    2024-05-14T13:18:19Z
Platform:   linux/amd64
GoVer:      go1.22.3
GoCompiler: gc

Environment

  • Running as binary or container: binary
  • Host platform: linux
  • Registry description: dockerhub

Anything else

nope