fur icon indicating copy to clipboard operation
fur copied to clipboard

Using docker container

Open fabio-marcelo opened this issue 6 months ago • 1 comments

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?

fabio-marcelo avatar Aug 16 '24 15:08 fabio-marcelo