You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I'm not an expert on docker, but as far as I know, a docker container does no allow direct access to the surrounding file system. However, you can copy to and from a running container. To do so, find the id of the container you'd like to target, by executing on the host system
docker ps
Say this is 5486ac5100aa, then copy from the host system to the appropriate directory inside the container.
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:How can I fix this permission issue, please?
The text was updated successfully, but these errors were encountered: