linux – Why I get permission denied when I use a snap docker version to run a zookeeper image?
When I ran the zookeeper image by the command following, I got "/docker-entrypoint.sh: line 43: /conf/zoo.cfg: Permission denied"
.
docker run --privileged=true -v /usr/lib/zookeeper/zk2890/conf:/conf --name zookeeper -d zookeeper
But after I reinstall the docker by apt-get instead of snap, this error is gone.
What cause this issue?
The details is showed in this question I got “/docker-entrypoint.sh: line 43: /conf/zoo.cfg: Permission denied” when I run a zookeeper docker container, how to fix it?.
Read more here: Source link