Skip to content

Using docker container #20

@fabio-marcelo

Description

@fabio-marcelo

Hi @haubold .
I've been trying to use de docker image haubold/fox and I think I have a permission issue.
When running the container (docker run -it --detach-keys="ctrl-@" haubold/fox:latest) I can't access the files inside the path I'm in, even trying to mount (docker run --rm --user $(echo $UID):$(echo $UID) -it -v $(pwd):/data/ haubold/fox:latest).

But if run docker run --rm -it -v $(pwd):/app/ haubold/fox:latest ls -l /app I can see the directory content as below:

total 28
drwxr-xr-x 2 root root  4096 Aug 16 13:19 fur
drwxrwxr-x 2 jdoe jdoe 12288 Aug 16 14:39 neigbors_mplutonius
drwxrwxr-x 2 jdoe jdoe  4096 Aug 16 14:28 neigbors_plarvae
drwxrwxr-x 2 jdoe jdoe  4096 Aug 16 14:21 target_mplutonius
drwxrwxr-x 2 jdoe jdoe  4096 Aug 16 14:19 target_plarvae

How can I fix this permission issue, please?

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