This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Building Docker image on Linux fails when pulling verdaccio/verdaccio image #3683
Comments
|
The issue occurs when pulling the image. I'm not sure adding the debugging tool would do much. Is there a verdaccio v5 image available built with node:16 rather than node:18? |
My reply was not for this ticket :) |
No, there is only one. |
It works for me with your example
|
Yeah it builds on Mac just fine for me as well - its when its being built or pulled on a linux machine that causes the issues. I believe if im reading this npm ticket correctly, it occurs when using a 9.x version of npm below 9.5.1. |
Ok than is an external issue nothing I can do about it, but good to have a reference if others encounter this problem |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Your Environment
Describe the bug
When pulling the verdaccio/verdaccio docker image on a linux system the build fails due to high container ids being mapped as uid's.
It seems its possible the issue has to do with specific npm versions and userns mapping within docker + linux. When the uid is too high, linux has issues. I have supplied some articles below that lead me in that direction.
To Reproduce
Running locally on a Mac and Docker does not replicate this issue and I have not found a way to do so.
I have started to run into the issue when deploying via linux containers in both Bitbucket pipelines during build and Azure Web Apps during deployment as they both use Linux environments
How to reproduce the issue
Build a docker image within a linux environment from the verdaccio/verdaccio base image
Steps to reproduce the issue
Dockerfile
docker-compose.yaml
Command to get error:
Expected behavior
The build should not error when pulling images
Screenshots, server logs, package manager log
Some links I have found while attempting to debug this problem:
Configuration File (cat ~/.config/verdaccio/config.yaml)
config.yaml
Environment information
Environment Info:
System:
OS: Linux 5.10 Alpine Linux
CPU: (6) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
npm: 9.3.1 - /usr/local/bin/npm
npmGlobalPackages:
verdaccio: 5.22.1
Contribute to Verdaccio
The text was updated successfully, but these errors were encountered: