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

Fix windows daemon.json file location in Docs #15106

Open
bromi0 opened this issue Jul 12, 2022 · 5 comments
Open

Fix windows daemon.json file location in Docs #15106

bromi0 opened this issue Jul 12, 2022 · 5 comments
Assignees
Labels
area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/engine Issue affects Docker engine/daemon lifecycle/frozen lifecycle/locked lifecycle/stale

Comments

@bromi0
Copy link

bromi0 commented Jul 12, 2022

File: config/containers/logging/local.md

The docs currently say:

To use the local driver as the default logging driver, set the log-driver and log-opt keys to appropriate values in the daemon.json file, which is located in /etc/docker/ on Linux hosts or C:\ProgramData\docker\config\daemon.json on Windows Server. For more about configuring Docker using daemon.json, see daemon.json.

But the docker desktop doesn't load the mentioned location, more so the %ProgramData%\Docker folder is cleaned with each update and by default locked with UAC permissions request.

The %USERPROFILE%\.docker\daemon.json , on the contrary, already exists and works just fine.

@thaJeztah
Copy link
Member

We may have to differentiate there between Docker Desktop for Windows, and a plain "Windows" installation.

Docker Desktop provides the (user-accessible) .docker/daemon.json file, to allow configuring the daemon without Admin privileges. Whereas on a non-Desktop installation of the Windows daemon, the other location is used (and only Admin users can access this file).

@thaJeztah thaJeztah added area/engine Issue affects Docker engine/daemon area/desktop Issue affects a desktop edition of Docker. E.g docker for mac labels Aug 27, 2022
@docker-robott
Copy link
Collaborator

There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Feb 17, 2023
@docker docker unlocked this conversation Feb 17, 2023
@thaJeztah
Copy link
Member

/lifecycle frozen

@thaJeztah
Copy link
Member

/cc @dvdksn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/engine Issue affects Docker engine/daemon lifecycle/frozen lifecycle/locked lifecycle/stale
Projects
None yet
Development

No branches or pull requests

5 participants