-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose up nginx Permission Error #1222
Comments
I'm having the same problem... |
It solved it! |
try to shutdown SELinux if your system have. hopes this can help. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi again 👋 we would like to inform you that this issue has been automatically |
Hi.
Can you help me with these error?. When I try to do docker-compose up nginx it fails with this error:
Step 28/149 : COPY ./aliases.sh /home/laradock/aliases.sh
---> Using cache
---> 1cf3d5e352fd
Step 29/149 : RUN echo "" >> ~/.bashrc && echo "# Load Custom Aliases" >> ~/.bashrc && echo "source /home/laradock/aliases.sh" >> ~/.bashrc && echo "" >> ~/.bashrc && sed -i 's/\r//' /home/laradock/aliases.sh && sed -i 's/^#! /bin/sh/#! /bin/bash/' /home/laradock/aliases.sh
---> Running in a46324b143a9
sed: can't read /home/laradock/aliases.sh: Permission denied
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c echo "" >> ~/.bashrc && echo "# Load Custom Aliases" >> ~/.bashrc && echo "source /home/laradock/aliases.sh" >> ~/.bashrc && echo "" >> ~/.bashrc && sed -i 's/\r//' /home/laradock/aliases.sh && sed -i 's/^#! /bin/sh/#! /bin/bash/' /home/laradock/aliases.sh' returned a non-zero code: 2
I'm using Photon OS with docker version 17.06.0-ce and docker-compose version 1.17.0-rc1
The text was updated successfully, but these errors were encountered: