Trouble using docker image on CircleCI due to unusual high user ids within the image files

Issue #54 resolved
Former user created an issue

Hi guys,

Last week I tried to have localstack running within my CI build in CircleCI and faced various problems. I got in touch with them and their engineers investigated the issue. Here's what they found out:

Looking at this particular container, it has such high uid that we will not be able to reasonably accomodate them while keeping user namespace effectively:

notnoop@placeholder:~$ sudo docker run -it --rm --entrypoint '' atlassianlabs/localstack:0.5.5 ls -lha /opt/code/localstack/localstack/dashboard/web/node_modules/comment-parser
total 92
drwxr-xr-x    3 17027476 19314187    4.0K Jun 28 10:02 .
drwxr-xr-x  933 root     root       36.0K Jun 28 10:02 ..
-rw-r--r--    1 8248842  21495225     187 Jan 26  2015 .jshintrc
-rw-r--r--    1 8248842  52370573      97 Mar  9  2014 .npmignore
-rw-r--r--    1 40347806 36259175      91 Nov  7  2015 .travis.yml
-rw-r--r--    1 15014210 18816141    1.1K Nov 25  2015 CHANGELOG.md
-rw-r--r--    1 21557324 94156302    1.1K Mar  9  2014 LICENSE
-rw-r--r--    1 42864389 2038925     4.7K Nov 25  2015 README.md
-rw-r--r--    1 8248842  2038925     1.2K Nov 25  2015 index.js
-rw-r--r--    1 17027476 19314187    1.8K Jun 28 10:02 package.json
-rw-r--r--    1 61222861 63957313    8.5K Nov 25  2015 parser.js
drwxr-xr-x    3 10819906 22837403    4.0K Jun 28 10:02 tests

The default limit is 65536 but README.md in this directory used 42864389 . This is probably as misconfiguration on the docker image creation part and we/user can consider contributing to image to avoid this.

Since a lot of people might use localstack within CircleCI, I figured it might be good to fix this to improve localstack adoption.

Thanks.

Comments (3)

  1. Log in to comment