Code-server: Running Coder in a Docker container would get stuck on waiting for shared process to start

Created on 6 Mar 2019  Â·  14Comments  Â·  Source: cdr/code-server

code-server does not seem to like Docker well or does not like the pseudo-user hacks for it.

Tested with my custom Coder stack.

  • code-server version: =< 1.13.0
  • OS Version: Debian 9, Google Cloud Platform

Related to #9

Steps to Reproduce

  1. Run chinodesuuu/coder
  2. Notice the logs that its stuck in waiting for shared process to start.
bug

Most helpful comment

for me this seems to boil down to something in 18.10 being the breaking factor. 18.04 works, 18.10 doesn't (inside or out of docker)

All 14 comments

Is it related to #13?

This is interesting. I've used it using ubuntu as the base-image and it seems to do fine. Will test!

for me this seems to boil down to something in 18.10 being the breaking factor. 18.04 works, 18.10 doesn't (inside or out of docker)

just to add another data point: the same issue happens on my Arch Linux install, kernel version 5.0.0

@0xfd000000 it works fine on my Arch Linux powered laptop. It must be something related to the dependencies...

It was mentioned that installing netstat resolved it for someone. Might be
worth a shot.
On Wed, Mar 6, 2019 at 12:34 PM Vlad Frolov notifications@github.com
wrote:

@0xfd000000 https://github.com/0xfd000000 it works fine on my Arch
Linux powered laptop. It must be something related to the dependencies...

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/codercom/code-server/issues/44#issuecomment-470265713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGysxGKmvWsFy2ybDu0PYSHJsjU4rTshks5vUCZMgaJpZM4bhTVk
.

confirmed, installing net-tools on ubuntu fixed the issue both on bare metal and in Docker. That's a strange one.

Wonderful. We’ll have to throw an error if we see it isn’t installed.
On Wed, Mar 6, 2019 at 2:05 PM Brian Ketelsen notifications@github.com
wrote:

confirmed, installing net-tools on ubuntu fixed the issue both on bare
metal and in Docker. That's a strange one.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/codercom/code-server/issues/44#issuecomment-470296094,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGysxBvhAAnc8ufXYeSFYvI2D-3t7hPHks5vUDuogaJpZM4bhTVk
.

ACK installing net-tools fixed in on Arch, too

Thanks for letting me know @bketelsen. Image will be updated !anually soon

Alright can confirm Coder requires net-tools to work. Do I close this or wait for the commit that throws the error when net-tools isn't installed?

Let’s wait for the commit. Could be confusing to people in the meantime
On Wed, Mar 6, 2019 at 5:04 PM Hikari Kibo notifications@github.com wrote:

Alright can confirm Coder requires net-tools to work. Do I close this or
wait for the commit that throws the error when net-tools isn't installed?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/codercom/code-server/issues/44#issuecomment-470340649,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGysxLp8DosZ0B-AwEdhJxfD12pBYRAgks5vUGWdgaJpZM4bhTVk
.

There is also an official docker image now so that should alleviate this.

This is now a resolved issue. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RealSlimMahdi picture RealSlimMahdi  Â·  3Comments

lshamis picture lshamis  Â·  3Comments

Arsaev picture Arsaev  Â·  3Comments

nol166 picture nol166  Â·  3Comments

chrischabot picture chrischabot  Â·  3Comments