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

Npm version 9.5.0 is incompatible with Docker when userns-remap feature is enabled #1416

Closed
tbouliere-datasolution opened this issue Apr 18, 2023 · 1 comment · Fixed by #1423
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tbouliere-datasolution
Copy link
Contributor

tbouliere-datasolution commented Apr 18, 2023

Since version 4.0.0, pwa uses npm 9.5.0.
Is this incompatible with systems that use the docker userns-remap feature (npm/cli#5900)?

The Azure App Service uses this type of functionality.
This leads to strange runtime errors like this one during the docker extraction phase

ERROR - failed to register layer: Error processing tar file(exit status 1): Container ID 1389985163 cannot be mapped to a host IDErr: 0, Message: failed to register layer: Error processing tar file(exit status 1): Container ID 1389985163 cannot be mapped to a host ID

We have fixed this on our projet by updating the node image node:18.16.0-alpine.

AB#85447

@shauke
Copy link
Member

shauke commented May 22, 2023

Please cherry pick this commit to solve the issue in 4.0.0 based projects.
35adb46

The fix will be part of the 4.1.0 PWA release.

shauke added a commit that referenced this issue May 23, 2023
@shauke shauke unpinned this issue Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants