Wener Site

skopeo

约 1 分钟阅读
  • containers/skopeoGitHubcontainers/skopeocontainers/skopeo · Apache-2.0, Go · $XDGRUNTIMEDIR/containers/auth.json · | env | for | defualt | · | REGISTRYAUTHFILE | --authfile | |笔记:skopeo
    • Apache-2.0, Go
  • $XDG_RUNTIME_DIR/containers/auth.json
bash
brew install skopeo # macOS Homebrew

# login insecure
skopeo login --tls-verify=false localhost:5000
# push
skopeo copy docker-daemon:server:latest docker://localhost:5000/server:latest --dest-tls-verify=false

skopeo inspect docker://registry-1.docker.io/wener/base:latest

skopeo copy docker://registry-1.docker.io/wener/base:latest oci-archive:base.tar
# 目录
# skopeo copy docker://registry-1.docker.io/wener/base:latest dir:$PWD/base
docker import base.tar
envfordefualt
REGISTRY_AUTH_FILE--authfile
  • authfile
    • ${XDG_RUNTIME_DIR}/containers/auth.json
    • $HOME/.docker/config.json
  • containers-storage:docker-reference
  • dir:path
  • docker://docker-reference
  • docker-archive:path[:docker-reference]
  • docker-daemon:docker-reference
  • oci:path:tag
    • Open Container Image Layout Specification

FAQ

Unsolicited response received on idle HTTP channel starting with

  • 关闭 tls-verfiy 可能会出现
  • golang HTTP 处理错误
text
net/http: HTTP/1.x transport connection broken: malformed HTTP status code

关联信息

反向链接和本文引用的外部资料。

反向链接

  • Container Awesome
    笔记 · skopeo

    Storage, Metadata, Runtime · CRI · opencontainers/runc · google/gvisor · Apache-2.0, Go · Application Kernel for Containers

  • registry-auth
    笔记 · skopeo

    credential-helpers · skopeo · $XDGRUNTIMEDIR/containers/auth.json · jib · $XDGRUNTIMEDIR/containers/auth.json · $XDGCONFIGHOME/containers/auth.json

References

GitHub

1 条
最近更新commit 523c1dfEdit

On this page