I want to create a docker image with selenium and chrome correctly installed, so I choose a base image with these properties. Therefore, the first
Note: Below commands may require root/administrative previleges.
docker pull ubuntudocker run -it ubuntu /bin/bashNote: By default you will be logged in inside container as root user if not then either elevate your privileges to root or use sudo before below listed commands
apt-get updateapt-get install python2apt-get install python3RUN sudo apt-get update
RUN sudo apt-get install python
As hinted by:
Acquire (13: Permission denied)
I believe this is due to your base image:
https://github.com/SeleniumHQ/docker-selenium/blob/master/NodeChrome/Dockerfile
As you can see it swaps from the default user context of 'root' to 'seluser'.
You can either:
USER rootHope that helps mate.