Skip to content

Docker container to try out Coder. #9

Closed

Description

@hortinstein

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

Activity

  1. kylecarbs commented on Mar 5, 2019

    @kylecarbs
    Member

    We’ll do this!

  2. foresthoffman commented on Mar 5, 2019

    @foresthoffman
    Contributor

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

  3. grikomsn commented on Mar 6, 2019

    @grikomsn

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

  4. sakanamax commented on Mar 6, 2019

    @sakanamax

    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

  5. kylecarbs commented on Mar 6, 2019

    @kylecarbs
    Member

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

  6. sr229 commented on Mar 6, 2019

    @sr229
    Contributor

    I already made my own Flavor of this Issue

    Enjoy.

  7. sakanamax commented on Mar 6, 2019

    @sakanamax

    @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...

  8. frol commented on Mar 6, 2019

    @frol

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

    image

  9. sr229 commented on Mar 6, 2019

    @sr229
    Contributor

    @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

  10. sr229 commented on Mar 6, 2019

    @sr229
    Contributor

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

  11. nhooyr commented on Mar 6, 2019

    @nhooyr
    Contributor

    I'm working on this issue.

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

  12. andrewwakeling commented on Jul 10, 2019

    @andrewwakeling

    @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.

  13. sr229 commented on Jul 11, 2019

    @sr229
    Contributor

    @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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions