Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

oci-image-tool failed #193

@jovizhangwei

Description

@jovizhangwei
root@iZbp1e2i7regbqxmbu0pyqZ:~#docker save tomcat|docker2oci tomcat

root@iZbp1e2i7regbqxmbu0pyqZ:~# oci-image-tool create --ref latest tomcat /mnt/nas/tomcat-bundle
symlink . /mnt/nas/tomcat-bundle/rootfs/usr/bin/X11: invalid argument
error unpack: extracting layer
github.com/opencontainers/image-tools/image.(*manifest).unpack.func2
	/root/gocode/src/github.com/opencontainers/image-tools/image/manifest.go:127
github.com/opencontainers/image-tools/image.(*pathWalker).walk.func1
	/root/gocode/src/github.com/opencontainers/image-tools/image/walker.go:162
path/filepath.walk
	/root/go/src/path/filepath/path.go:356
path/filepath.walk
	/root/go/src/path/filepath/path.go:381
path/filepath.walk
	/root/go/src/path/filepath/path.go:381
path/filepath.walk
	/root/go/src/path/filepath/path.go:381
path/filepath.Walk
	/root/go/src/path/filepath/path.go:403
github.com/opencontainers/image-tools/image.(*pathWalker).walk
	/root/gocode/src/github.com/opencontainers/image-tools/image/walker.go:140
github.com/opencontainers/image-tools/image.(*manifest).unpack
	/root/gocode/src/github.com/opencontainers/image-tools/image/manifest.go:116
github.com/opencontainers/image-tools/image.createBundle
	/root/gocode/src/github.com/opencontainers/image-tools/image/image.go:337
github.com/opencontainers/image-tools/image.createRuntimeBundle
	/root/gocode/src/github.com/opencontainers/image-tools/image/image.go:288
github.com/opencontainers/image-tools/image.CreateRuntimeBundleLayout
	/root/gocode/src/github.com/opencontainers/image-tools/image/image.go:235
main.createHandle
	/root/gocode/src/github.com/opencontainers/image-tools/cmd/oci-image-tool/create.go:62
github.com/opencontainers/image-tools/vendor/github.com/urfave/cli.HandleAction
	/root/gocode/src/github.com/opencontainers/image-tools/vendor/github.com/urfave/cli/app.go:485
github.com/opencontainers/image-tools/vendor/github.com/urfave/cli.Command.Run
	/root/gocode/src/github.com/opencontainers/image-tools/vendor/github.com/urfave/cli/command.go:193
github.com/opencontainers/image-tools/vendor/github.com/urfave/cli.(*App).Run
	/root/gocode/src/github.com/opencontainers/image-tools/vendor/github.com/urfave/cli/app.go:250
main.main
	/root/gocode/src/github.com/opencontainers/image-tools/cmd/oci-image-tool/main.go:57
runtime.main
	/root/go/src/runtime/proc.go:185
runtime.goexit
	/root/go/src/runtime/asm_amd64.s:2337

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions