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

Docker container to try out Coder. #9

Closed
hortinstein opened this issue Mar 5, 2019 · 13 comments
Closed

Docker container to try out Coder. #9

hortinstein opened this issue Mar 5, 2019 · 13 comments
Assignees

Comments

@hortinstein
Copy link

I think you should add a docker container deployment one liner to your landing page similar to https://www.theia-ide.org/

Should be simple enough to create the image and add to your CI and keep an official one with Docker Hub...with docker for windows this also sorta meets your windows goals

@kylecarbs
Copy link
Member

We’ll do this!

@foresthoffman
Copy link
Contributor

I can't assign this to myself, but i'm looking into it.

@grikomsn
Copy link

grikomsn commented Mar 6, 2019

I'd like to work on this, currently building locally using Ubuntu as the base image. ✨

@sakanamax
Copy link

I try to run code-server-1.31.0-20-x86_64-linux in docker.
I already publish the port 80
But when I open the browser to connect http://localhost:80
I get timeout

That mean I can't run it in docker, right?

Here is the message I run in the docker
4d5d5deee7e0:/code-server-1.31.0-20-x86_64-linux # ./code-server -p 80
INFO code-server v1.0.0
INFO Additional documentation: http://github.com/codercom/code-server
INFO Initializing {"data-dir":"/root/.code-server","working-dir":"/code-server-1.31.0-20-x86_64-linux","log-dir":"/root/.code-server/logs/20190306151336507"}
INFO Starting shared process [1/5]...
INFO Starting webserver... {"host":"0.0.0.0","port":80}
WARN No certificate specified. This could be insecure.
WARN Documentation on securing your setup: https://coder.com/docs
INFO
INFO Password: UbVvGNdLNkWI
INFO
INFO Started (click the link below to open):
INFO http://localhost:80/
INFO

@kylecarbs
Copy link
Member

kylecarbs commented Mar 6, 2019

@sakanamax Are you exposing the port on your host? Ref

@sr229
Copy link
Contributor

sr229 commented Mar 6, 2019

I already made my own Flavor of this Issue

Enjoy.

@sakanamax
Copy link

sakanamax commented Mar 6, 2019

@sakanamax Are you exposing the port on your host? Ref

Yes, I already expose the port on my host
I use openSUSE Leap 15 image in docker
I try another version in ubuntu
but when I connect, it just show
localhost contacted. Waiting for reply...

@frol
Copy link

frol commented Mar 6, 2019

@sr229 Does it work for you? It just hangs when I open the link. Here are the logs:

image

@sr229
Copy link
Contributor

sr229 commented Mar 6, 2019

@frol that's what I'm trying to figure out. This image structure is heavily based on my Theia stacks. I probably found a new bug

@sr229
Copy link
Contributor

sr229 commented Mar 6, 2019

@frol I believe this is a bug within Coder. Opening issue.

@nhooyr
Copy link
Contributor

nhooyr commented Mar 6, 2019

I'm working on this issue.

Will throw a oneliner command on the README.md and homepage once I'm done.

@andrewwakeling
Copy link

@kylecarbs It looks like this is no longer on the landing page. I noticed it disappeared in the last few months.
I personally found it very very useful and I'm not a big fan of the "Request Demo" form that now appears.

Is this really the best thing for Coder? I'm concerned that people who want to trial the software have to somehow land on https://github.com/cdr/code-server to find the same Docker commands that used to be on the website.

@sr229
Copy link
Contributor

sr229 commented Jul 11, 2019

@andrewwakeling I wrote a little Katacoda playground if you wanna try out code-server. I'll let the Coder team link it as well since it might be useful.

code-server Playground

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

9 participants