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
I try to run the command sudo docker exec -t -i containername /usr/bin/pull from the :latest image.
When I do I get an error:
fatal: detected dubious ownership in repository at '/var/www/html'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www/html
Checking the permissions they are:
f34e727608f2:/var/www/html# ls -lah
total 204K
drwxr-xr-x 1 nginx nginx 4.0K Oct 23 21:58 .
drwxr-xr-x 1 root root 4.0K Jun 10 19:59 ..
drwxr-xr-x 8 nginx nginx 4.0K Oct 23 21:58 .git
The container does not have any volume attached.
The text was updated successfully, but these errors were encountered:
I try to run the command
sudo docker exec -t -i containername /usr/bin/pull
from the :latest image.When I do I get an error:
Checking the permissions they are:
The container does not have any volume attached.
The text was updated successfully, but these errors were encountered: