how to resolve the permission denied issue
aiaiwuai opened this issue · comments
aiaiwuai commented
docker-compose build workspace
cause:
Step 19/228 : USER laradock
---> Using cache
---> 85f01ff29562
Step 20/228 : RUN echo "" >> ~/.bashrc && echo "# Load Custom Aliases" >> ~/.bashrc && echo "source ~/aliases.sh" >> ~/.bashrc && echo "" >> ~/.bashrc
---> Running in f3c31d2b1fd6
/bin/sh: 1: cannot create /home/laradock/.bashrc: Permission denied
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c echo "" >> ~/.bashrc && echo "# Load Custom Aliases" >> ~/.bashrc && echo "source ~/aliases.sh" >> ~/.bashrc && echo "" >> ~/.bashrc' returned a non-zero code: 2
my docker run with namespace mode related?
Shao Yu-Lung (Allen) commented
try new version please.
JoLeoAntares commented
Hello pour ma part j'avais exactement cette erreur que j'ai corrigé grâce à un Upgrade de Docker Engine :
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
Lucas Amazonas commented
Nice, It worked here.