Skip to content
New issue

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

Merge #38050 causing a failure? #38725

Closed
EML-github opened this issue Feb 13, 2019 · 5 comments
Closed

Merge #38050 causing a failure? #38725

EML-github opened this issue Feb 13, 2019 · 5 comments

Comments

@EML-github
Copy link

I've got a new Win10 installation, and have been the following the Ubuntu tutorial here on installing Docker. This fails at Step 7 with this message:

C:\home\evan\local\docker>.\dockerd.exe -D --data-root C:\lcow
WARN[2019-02-13T18:01:23.679810300Z] cannot set sticky bit on files under XDG_RUNTIME_DIR  error="homedir.StickRuntimeDirContents() is not supported on this system"
failed to load listeners: open //./pipe/docker_engine: Access is denied.

This seems to be from code that was added recently (pull request #38050, "Allow running dockerd as a non-root user", "Set sticky bit if XDG_RUNTIME_DIR is set && the file is actually under XDG_RUNTIME_DIR").

Unfortunately, I know exactly nothing about Windows; I didn't even know it had a sticky bit. I tried running dockerd as a non-root user after reading the comments, but this is no better. However, Windows does now produce a "This app can't run on your PC" popup instead.

I don't suppose that you can throw any light on this?

@AkihiroSuda AkihiroSuda self-assigned this Feb 14, 2019
@AkihiroSuda AkihiroSuda added kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. platform/windows priority/P0 Urgent: Security, critical bugs, blocking issues. drop everything until this issue is addressed. area/rootless Rootless mode labels Feb 14, 2019
@AkihiroSuda
Copy link
Member

The XDG_RUNTIME_DIR message seems a warning, not an error.

Does v18.09.2 work?

@AkihiroSuda AkihiroSuda added status/more-info-needed and removed area/rootless Rootless mode kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. priority/P0 Urgent: Security, critical bugs, blocking issues. drop everything until this issue is addressed. labels Feb 14, 2019
@AkihiroSuda
Copy link
Member

Please make sure to execute dockerd.exe in admin command prompt.

Rootless mode is not supported on Windows.

@thaJeztah thaJeztah added the area/rootless Rootless mode label Feb 18, 2019
@AkihiroSuda
Copy link
Member

@thaJeztah this doesn't seem related to area/rootless

#38725 (comment)

@lowenna
Copy link
Member

lowenna commented Mar 22, 2019

Right, but the Ubuntu tutorial isn't applicable in any way to Windows. What's the output of docker info and docker version. How did you install docker? Through Docker-For-Windows? From master.dockerproject.org? Are you launching from an elevated command prompt, not a regular-user prompt?

@AkihiroSuda
Copy link
Member

I assume this can be closed, let me know if not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants