StefanScherer / dockerfiles-windows

Various Dockerfiles for Windows Containers
MIT License
1.1k stars 396 forks source link

Error: EPERM: operation not permitted, symlink #429

Closed GANG-CHEN-1 closed 4 years ago

GANG-CHEN-1 commented 4 years ago

I am trying to run npm install lerna and during the "lerna bootstrap" it has an permitted issue regarding doing a symlink. it seem need to get the administration permission, current account in container is "user manager\containeradministrator", it already has root permission, I used and "USER administrator" in dockerfile, the image can't be build again with error"Exception(2) tid(394) 8007052E The user name or password is incorrect".

Issue: npm install in "lerna bootstrap" is failure with key info: Error: EPERM: operation not permitted, symlink

Docker Version: C:\Users\320064178>docker version Client: Docker Engine - Community Version: 19.03.2 API version: 1.40 Go version: go1.12.8 Git commit: 6a30dfc Built: Thu Aug 29 05:26:49 2019 OS/Arch: windows/amd64 Experimental: true

Server: Docker Engine - Community Engine: Version: 19.03.2 API version: 1.40 (minimum version 1.24) Go version: go1.12.8 Git commit: 6a30dfc Built: Thu Aug 29 05:39:49 2019 OS/Arch: windows/amd64 Experimental: true

Image OS version info:

PS C:\data\uid-web> systeminfo

Host Name: 0D5B885CE858 OS Name: Microsoft OS Version: 10.0.17134 N/A Build 17134 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Server OS Build Type: Multiprocessor Free Registered Owner: N/A Registered Organization: N/A Product ID: 00395-60000-00001-AA961 Original Install Date: 9/5/2019, 5:22:09 PM System Boot Time: 10/9/2019, 2:08:16 AM System Manufacturer: Microsoft Corporation System Model: Virtual Machine System Type: x64-based PC Processor(s): 1 Processor(s) Installed. 01: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~2592 Mhz BIOS Version: Microsoft Corporation Hyper-V UEFI Release v4.0, 8/31/2018 Windows Directory: C:\Windows System Directory: C:\Windows\system32 Boot Device: \Device\HarddiskVolume1 System Locale: en-us;English (United States) Input Locale: N/A Time Zone: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna Total Physical Memory: 1,023 MB Available Physical Memory: 604 MB Virtual Memory: Max Size: 2,751 MB Virtual Memory: Available: 2,286 MB Virtual Memory: In Use: 465 MB Page File Location(s): C:\pagefile.sys Domain: WORKGROUP Logon Server: N/A Hotfix(s): 2 Hotfix(s) Installed.

                       [02]: KB4516058

Network Card(s): N/A Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Error info

npm info lifecycle undefined~preshrinkwrap: undefined npm info lifecycle undefined~shrinkwrap: undefined npm info lifecycle undefined~postshrinkwrap: undefined npm WARN uid-web@1.1.0 requires a peer of @angular/animations@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/cdk@^6.1.0 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/common@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/compiler@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/compiler-cli@^6.1.0 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/core@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/forms@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/http@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/platform-browser@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/platform-browser-dynamic@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @angular/router@^6.1.10 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of d3@^3.5.17 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of primeng@^5.2.7 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of rxjs-compat@^6.3.3 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of rxjs-tslint@^0.1.6 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of @types/quill@^1.3.9 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of quill@^1.3.6 but none is installed. You must install peer dependencies yourself. npm WARN uid-web@1.1.0 requires a peer of zone.js@^0.8.29 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@0.3.8 (node_modules\json-sass\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@0.3.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

GANG-CHEN-1 commented 4 years ago

@StefanScherer high appreciate if you could share your comments for this issue? thanks.

StefanScherer commented 4 years ago

Somehow I didn't saw this in my notifications. If there's still a problem, please open a new issue with up to date details. A lot of things might have changed since then.