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

Docker data root resetting to C after every reboot or container type switch #14402

Open
markstz opened this issue Nov 4, 2024 · 0 comments
Open

Comments

@markstz
Copy link

markstz commented Nov 4, 2024

Description

Since installing 4.35.0 (no change in behaviour with 4.35.1 either), every time my PC is restarted, or I switch Docker containers between Linux and Windows or vice versa, my data-root setting reverts to C:\ProgramData\Docker.

I have this set to D drive.

Since updating to 4.35 I now have to edit the Docker Engine settings after every reboot and every time I switch containers to set it back to D drive; otherwise I have no Docker images available.

Reproduce

  1. Set data-root to D drive.
  2. Reboot PC
  3. Run docker info and check Docker Root Dir.

Expected behavior

Docker Root Dir should remain unchanged.

docker version

Client:
Version: 27.3.1
API version: 1.47
Go version: go1.22.7
Git commit: ce12230
Built: Fri Sep 20 11:42:27 2024
OS/Arch: windows/amd64
Context: desktop-windows

Server: Docker Desktop 4.35.1 (173168)
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:40:58 2024
OS/Arch: windows/amd64
Experimental: false

docker info

Client:
Client:
Version: 27.3.1
Context: desktop-windows
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.17.1-desktop.1
Path: C:\Users\user.name.docker\cli-plugins\docker-buildx.exe
compose: Docker Compose (Docker Inc.)
Version: v2.29.7-desktop.1
Path: C:\Users\user.name.docker\cli-plugins\docker-compose.exe
debug: Get a shell into any image or container (Docker Inc.)
Version: 0.0.37
Path: C:\Users\user.name.docker\cli-plugins\docker-debug.exe
desktop: Docker Desktop commands (Alpha) (Docker Inc.)
Version: v0.0.15
Path: C:\Users\user.name.docker\cli-plugins\docker-desktop.exe
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
Path: C:\Users\user.name.docker\cli-plugins\docker-dev.exe
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.27
Path: C:\Users\user.name.docker\cli-plugins\docker-extension.exe
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version: v1.0.5
Path: C:\Users\user.name.docker\cli-plugins\docker-feedback.exe
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.3.0
Path: C:\Users\user.name.docker\cli-plugins\docker-init.exe
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: C:\Users\user.name.docker\cli-plugins\docker-sbom.exe
scout: Docker Scout (Docker Inc.)
Version: v1.14.0
Path: C:\Users\user.name.docker\cli-plugins\docker-scout.exe

Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 127
Server Version: 27.3.1
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local splunk syslog
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 19045 (19041.1.amd64fre.vb_release.191206-1406)
Operating System: Microsoft Windows Version 22H2 (OS Build 19045.5011)
OSType: windows
Architecture: x86_64
CPUs: 16
Total Memory: 31.67GiB
Name: UKSTZLT033
ID: 4498754a-09d1-4fb4-b98c-499ced6c5730
Docker Root Dir: D:\ProgramData\Docker
Debug Mode: false
Labels:
com.docker.desktop.address=npipe://\.\pipe\docker_cli
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

Diagnostics ID

E9D44797-D10F-4B36-A1E4-9313D94640B3/20241104135723

Additional Info

No response

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

1 participant