Skip to content

Solved issue, examples for readme? #8

@Eibwen

Description

@Eibwen

Well I figured out what the issue was, just trying to run without a terminal via the docker image. Thought I'd submit this still in case this example could help someone else or serve as a source for readme examples

Working state

docker pull busybox
docker save busybox > image.tar
cat image.tar | docker run -i --rm orisano/dlayer

I was curious what the -i interactive mode returns, but that just results in an error:

$ cat image.tar | docker run -i --rm orisano/dlayer -i
dlayer: exec: "infocmp": executable file not found in $PATH

This also has the same error in Wondows Powershell

PS> docker run -v ${PWD}:/workdir --rm orisano/dlayer -f /workdir/image.tar
dlayer: exec: "infocmp": executable file not found in $PATH

Fix Solved

It looks like your docker image is using a base image which doesn't include the infocmp utility, resulting in trying to use the -i mode erroring out when used in docker

Actually I just got the interactive mode to work in windows powershell with this command: docker run -it -v ${PWD}:/workdir --rm orisano/dlayer -f /workdir/image.tar -i so it primarily is my fault

And it makes sense that it wouldn't work without the docker -t flag, since your interactive mode is specifically designed to be interacted with hah

Environment

  • Windows 10
  • MINGW64 Bash terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions