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

node:8-slim image is broken as on 27/11/2018 #936

Closed
shrikrishnaholla opened this issue Nov 27, 2018 · 13 comments
Closed

node:8-slim image is broken as on 27/11/2018 #936

shrikrishnaholla opened this issue Nov 27, 2018 · 13 comments

Comments

@shrikrishnaholla
Copy link

  • node:8-slim image has been giving issues for us all day
  • We used an older image to verify that issues aren't from our end
  • Tested on multiple servers
    Versions of docker in the servers:
    1. Docker version 17.06.0-ce, build 02c1d87
    2. Docker version 17.03.0-ce, build 3a232c8

Error in bringing up an express server:

Tue, 27 Nov 2018 10:18:13 GMT <>:server Exiting server with error { Error: read ENOTCONN
    at Socket._read (net.js:505:20)
    at Socket.Readable.read (_stream_readable.js:442:10)
    at resume_ (_stream_readable.js:822:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickDomainCallback (internal/process/next_tick.js:219:9)
    at Function.Module.runMain (module.js:696:11)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3 errno: 'ENOTCONN', code: 'ENOTCONN', syscall: 'read' }
Tue, 27 Nov 2018 10:18:13 GMT <>:server Clean error exit. Pool drained
Tue, 27 Nov 2018 10:18:13 GMT <>:server Exiting server with error 1
@tvainika
Copy link
Contributor

node:6-slim is still Debian 8 jessie based as of ed3e8825 master
node:8-slim is Debian 9 stretch based since 0ceefee master
node:10-slim is still Debian 8 jessie based as of ed3e8825 master
node:11-slim seems to be Debian 9 stretch based since daf910e master

Pretty confusing. node:8-slim was changed by accident?

@LaurentGoderre
Copy link
Member

Jessie is EOL so we are transitioning to stretch. Pr #850 will give you the option to target either one for slim.

@shrikrishnaholla
Copy link
Author

@LaurentGoderre is there any way to subscribe to these update notices via some rss feed or newsletter? For example, we're generally aware of nodejs security releases because of their google group: https://groups.google.com/forum/#!forum/nodejs-sec . Is there anything similar in nature for docker-node ?

@LaurentGoderre
Copy link
Member

Not sure we have such communication channel set up yet.

@LaurentGoderre
Copy link
Member

LaurentGoderre commented Nov 29, 2018

@shrikrishnaholla you docker-library/official-images#5125 will introduce the node:8-jessie-slim which will probably help fix your issue.

@shrikrishnaholla
Copy link
Author

@LaurentGoderre may I know when this is expected to be pushed to docker hub? I'm still getting the error that the tag isn't found

@SimenB
Copy link
Member

SimenB commented Dec 2, 2018

When docker-library/official-images#5126 is merged, it'll be available a couple of hours later

@macrozone
Copy link

all of sudden, the git binary is also missing in node:8-slim 😕

@chorrell
Copy link
Contributor

chorrell commented Dec 4, 2018

@macrozone git has never been installed in the slim variants.

@macrozone
Copy link

@chorrel i just noticed, because yarn install suddenly failed. But it was because i used a git url as dependency in package.json.

Just heads up for others: dont use the slim image if you need npm or yarn install

@shrikrishnaholla
Copy link
Author

shrikrishnaholla commented Dec 4, 2018 via email

@LaurentGoderre
Copy link
Member

You can also use the slim image with multi-stage build to address this issue like you would in Alpine

@LaurentGoderre
Copy link
Member

I believe we can close because we not have jessie-slim and stretch-slim tags

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

6 participants