'docker_run.sh' script returning permission denied error when trying to copy into the container
2niknatan opened this issue · comments
Summary
When running 'docker_run.sh' script, the 'docker cp' command is returning an error as such:
ERRO[0000] Can't add file /root/.minikube/profiles/minikube/client.crt to tar: open /root/.minikube/profiles/minikube/client.crt: permission denied
Steps to Reproduce
- Running 'docker_run.sh' script
Expected Results
All files are copied
Actual Results
Getting 'When running 'docker_run.sh' script, the 'docker cp' command is returning an error as such:
ERRO[0000] Can't add file /root/.minikube/profiles/minikube/client.crt to tar: open /root/.minikube/profiles/minikube/client.crt: permission denied' error
Reproducible
- [* ] Always
- Sometimes
- Non-Reproducible
Environment setup
Ubuntu
After some research, I ran 'sudo snap install docker' command.
This command has some limitations on docker such as: