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

wclayer create fails on multiple parent layers #278

Closed
liangyuRain opened this issue Aug 7, 2018 · 2 comments
Closed

wclayer create fails on multiple parent layers #278

liangyuRain opened this issue Aug 7, 2018 · 2 comments

Comments

@liangyuRain
Copy link

liangyuRain commented Aug 7, 2018

I was trying to create a writable scratch layer based on two read-only layers from microsoft/nanoserver:latest. After I imported the two layers, when I tried to run .\wclayer.exe create -l l_1 -l l_2 l_3 (l_1 and l_2 are the read-only layers, l_3 is the scratch layer I want to create), it failed with:

ERRO[0000] hcsshim::CreateScratchLayer failed in Win32: The system cannot find the path specified. (0x3) path=C:\Users\t-liazha\Desktop\test\l_3
hcsshim::CreateScratchLayer failed in Win32: The system cannot find the path specified. (0x3) path=C:\Users\t-liazha\Desktop\test\l_3

Any one has any idea on this?

@andyleejordan
Copy link
Member

/cc @jstarks @gupta-ak

@liangyuRain
Copy link
Author

It turns out that the order of the paths to parent layers is causing the problem. For .\wclayer.exe create, the last layer should be the base layer. In our case, the command should be .\wclayer.exe create -l l_2 -l l_1 l_3.

dcantah pushed a commit to dcantah/hcsshim that referenced this issue Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants