I have been facing this problem for about a month now and unable to find any solution.
I am trying to run well-maintained docker container of an open-source organization with commands like
docker-compose up but I am getting permission denied errors.
E: Opening configuration file /etc/apt/apt.conf.d/01autoremove - ifstream::ifstream (13: Permission denied)
Reinstalling docker solved my issue but every time I restart my PC (Ubuntu 20.04 LTS), I get the same error back again. Reinstalling docker every time before using it isn’t a solution I am looking for. I would be grateful if someone can help me with this. Thanks!