Skip to content

Is there a way to shell into the Docker image? #108

@wpm

Description

@wpm

I can upload files to the /web directory of a running container using docker cp. After I have done this I want to manage those files, e.g. delete files beneath /web, or move them to different directories. Usually, I would do this by run the shell command via docker exec, but that doesn't appear to be possible.

docker exec pdf_structure-web-server-1 /bin/sh
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown

I tried various paths to a shell program, but none of them worked.

Is there a shell program I can run with docker exec in this image? If not, how do I manage files in the container once I have uploaded them?

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