docker / cli

The Docker CLI
Apache License 2.0
4.91k stars 1.93k forks source link

Drive sharing stops working after changing windows password. #1672

Open PiotrPerak opened 5 years ago

PiotrPerak commented 5 years ago

Description After changing windows password drive sharing doesn't work but also doesn't give any warnings or logs. I'm using Linux containers on windows 10. I asked for help on stackoverflow before I solved it. https://stackoverflow.com/questions/54064416/some-files-not-visible-and-other-visible-as-folders-after-adding-docker-volume and then again today (I forgot I changed my password). https://stackoverflow.com/questions/54693982/cannot-mount-directory-inside-docker-container

Steps to reproduce the issue:

  1. Enable sharing drives, verify you can mount drive inside docker container
  2. Change windows password
  3. Try to mount the same director to same container as in step 1. You won't see folder mounted and no errors or warnings will be shown.

Describe the results you received: Looks like random results. Sometimes it doesn't show anything. Sometimes in shows one file or folder.

Describe the results you expected: If it can't mount it is should give me an error

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

Client: Docker Engine - Community
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.10.6
 Git commit:        4c52b90
 Built:             Wed Jan  9 19:34:26 2019
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       4c52b90
  Built:            Wed Jan  9 19:41:49 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Output of docker info:

Containers: 2
 Running: 0
 Paused: 0
 Stopped: 2
Images: 89
Server Version: 18.09.1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: active
 NodeID: 189807rix08bpjza02yl47jxa
 Is Manager: true
 ClusterID: 6vnnzyv4ep4gb5jqznxugwix6
 Managers: 1
 Nodes: 1
 Default Address Pool: 10.0.0.0/8
 SubnetSize: 24
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 10
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
  Force Rotate: 0
 Autolock Managers: false
 Root Rotation In Progress: false
 Node Address: 192.168.65.3
 Manager Addresses:
  192.168.65.3:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 96ec2177ae841256168fcf76954f7177af9446eb
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.125-linuxkit
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934GiB
Name: linuxkit-00155d002c05
ID: C5NP:6SVZ:VEVR:2SM5:DWUE:MMRS:SKUP:L6CJ:L3B2:5NSY:YQQR:WUMS
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 38
 Goroutines: 167
 System Time: 2019-02-14T16:00:44.6892909Z
 EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

Additional environment details (AWS, VirtualBox, physical, etc.): Physical

PiotrPerak commented 5 years ago

image Does this mean it is resolved now?