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

Running Coder in a Docker container would get stuck on waiting for shared process to start #44

Closed
sr229 opened this issue Mar 6, 2019 · 14 comments
Labels
bug Something isn't working

Comments

@sr229
Copy link
Contributor

sr229 commented Mar 6, 2019

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.
@sr229 sr229 changed the title Running Coder in a Docker container would get stock on waiting for shared process to start Running Coder in a Docker container would get stuck on waiting for shared process to start Mar 6, 2019
@frol
Copy link

frol commented Mar 6, 2019

Is it related to #13?

@kylecarbs
Copy link
Member

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

@bketelsen
Copy link

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)

@herrgahr
Copy link

herrgahr commented Mar 6, 2019

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

@frol
Copy link

frol commented Mar 6, 2019

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

@kylecarbs
Copy link
Member

kylecarbs commented Mar 6, 2019 via email

@bketelsen
Copy link

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

@kylecarbs
Copy link
Member

kylecarbs commented Mar 6, 2019 via email

@herrgahr
Copy link

herrgahr commented Mar 6, 2019

ACK installing net-tools fixed in on Arch, too

@sr229
Copy link
Contributor Author

sr229 commented Mar 6, 2019

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

@sr229
Copy link
Contributor Author

sr229 commented Mar 7, 2019

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?

@kylecarbs
Copy link
Member

kylecarbs commented Mar 7, 2019 via email

@nhooyr
Copy link
Contributor

nhooyr commented Mar 8, 2019

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

@nhooyr nhooyr added the bug Something isn't working label Mar 8, 2019
@sr229
Copy link
Contributor Author

sr229 commented Mar 11, 2019

This is now a resolved issue. Closing.

@sr229 sr229 closed this as completed Mar 11, 2019
code-asher added a commit that referenced this issue Jun 19, 2019
* Allow setting marketplace URL

* Add zip fill

* Comment out CSP for now

* Fill zip on client as well

Probably will need it for client-side extensions.

* Don't use itemUrl (it's undefined)

* Remove extension rating

* Hide ratings with CSS instead of patching them out

* Add hard-coded fallback for service URL

* Only use coder-develop for extapi if env is explicitly development

* Don't use coder-develop at all for extapi

If you need it, you can set SERVICE_URL.
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

No branches or pull requests

6 participants