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
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
I'm trying to run Gitea using Docker volumes on a Mac (Docker CE 17.09). Creating a remote volume works as in
docker run -v sshvol:/test --rm alpine sh -c 'echo "Hello World" > /test/somefile'
will result in a remote file.
However, as soon as the container starts tinkering with /var/lib/docker, in this case I think it tries to change permissions in /var/lib/docker/plugins/<some_rather_long_string>/..., the container won't start but outputs an error
docker: Error response from daemon: chown /var/lib/docker/plugins/<some_rather_long_string>/rootfs/mnt/volumes/<some_other_long_string>: permission denied.
Obviously, on Mac OS there is no such thing as /var/lib/docker.
I've tried the :nocopy option of -v, but that ends the container as soon as it started without an error message.
Any suggestion how to approach this issue is greatly appreciated.
Cheers,
U.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to run Gitea using Docker volumes on a Mac (Docker CE 17.09). Creating a remote volume works as in
docker run -v sshvol:/test --rm alpine sh -c 'echo "Hello World" > /test/somefile'
will result in a remote file.
However, as soon as the container starts tinkering with
/var/lib/docker
, in this case I think it tries to change permissions in/var/lib/docker/plugins/<some_rather_long_string>/...
, the container won't start but outputs an errorObviously, on Mac OS there is no such thing as
/var/lib/docker
.I've tried the
:nocopy
option of-v
, but that ends the container as soon as it started without an error message.Any suggestion how to approach this issue is greatly appreciated.
Cheers,
U.
The text was updated successfully, but these errors were encountered: