We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image(s): 3.11.0-californium release
3.11.0-californium release
Dockerfile:
FROM selenium/standalone-chrome-debug:latest USER seluser RUN apt-get update
Docker-Selenium Image Version(s):
Docker Version:
~/projects/thinkwell-livewell (develop)$ docker version Client: Version: 18.03.0-ce API version: 1.37 Go version: go1.9.4 Git commit: 0520e24 Built: Wed Mar 21 23:06:22 2018 OS/Arch: darwin/amd64 Experimental: false Orchestrator: swarm Server: Engine: Version: 18.03.0-ce API version: 1.37 (minimum version 1.12) Go version: go1.9.4 Git commit: 0520e24 Built: Wed Mar 21 23:14:32 2018 OS/Arch: linux/amd64 Experimental: true
OS: Mac 10.13.3
Mac 10.13.3
~/projects/thinkwell-livewell (develop)$ docker build -t thinkwell . Sending build context to Docker daemon 206.6MB Step 1/4 : FROM selenium/standalone-chrome-debug:latest ---> 84b85c846d6a Step 2/4 : USER seluser ---> Running in 6a0a3c059956 Removing intermediate container 6a0a3c059956 ---> bfca1b6592aa Step 3/4 : RUN apt-get update ---> Running in 9fecf27c43b4 Reading package lists... E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied) The command '/bin/sh -c apt-get update' returned a non-zero code: 100
The text was updated successfully, but these errors were encountered:
I changed Dockerfile to this:
Dockerfile
FROM selenium/standalone-chrome-debug:latest USER root RUN sudo apt-get update
and it worked.
If this is correct answer, please close.
Sorry, something went wrong.
Hi @bartonhammond,
Yes, some packages are installed with root and only a few with seluser, so for your use case probably you need the root user.
No branches or pull requests
Image(s):
3.11.0-californium release
Dockerfile:
Docker-Selenium Image Version(s):
Docker Version:
OS:
Mac 10.13.3
Expected Behavior -
Actual Behavior -
The text was updated successfully, but these errors were encountered: