fn icon indicating copy to clipboard operation
fn copied to clipboard

Doesn't run out-of-the-box on Windows: "Mount denied"

Open Daniel15 opened this issue 5 years ago • 0 comments

Description I downloaded fn.exe and tried to run fn start, but get this error:

λ fn start
docker: Error response from daemon: Mount denied:
The source path "C:/Users/danlo/.fn/data"
doesn't exist and is not known to Docker.
See 'docker run --help'.
2019/03/30 08:23:27 Error: processed finished with error exit status 125

I could get past this error once I manually created the data and iofs directories.

Steps to reproduce the issue:

  1. Download latest build of fn.exe (0.5.65 as I write this)
  2. Ensure ~/.fn does not exist (as with a fresh install)
  3. Run fn start

Describe the results you received: Error message above

Describe the results you expected: No error

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

C:\Users\danlo
λ docker version
Client: Docker Engine - Community
 Version:           18.09.2
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        6247962
 Built:             Sun Feb 10 04:12:31 2019
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.2
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       6247962
  Built:            Sun Feb 10 04:13:06 2019
  OS/Arch:          linux/amd64
  Experimental:     false

C:\Users\danlo
λ docker info
Containers: 243
 Running: 12
 Paused: 0
 Stopped: 231
Images: 202
Server Version: 18.09.2
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: gbp24sxksbrzt9y6f5nn41qc1
 Is Manager: true
 ClusterID: nl1hp0k8bel7m7p1s3kgqwoyi
 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: 09c8266bf2fcf9519a651b04ae54c967b9ab86ec
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-00155d2e1101
ID: R4NC:ZS3U:J5RY:HGXM:SYJF:HHMU:KEB7:WH4R:HPF6:ZKKF:RHFX:MEV6
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 102
 Goroutines: 435
 System Time: 2019-03-30T15:29:20.9056052Z
 EventsListeners: 8
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

Output of fn version (CLI command):

Client version is latest version: 0.5.65
Server version:  ?

Additional environment details (OSX, Linux, flags, etc.): Windows 10, 1809

Daniel15 avatar Mar 30 '19 15:03 Daniel15