https://linen.dev logo
Join Discord
Powered by
# general
  • s

    Scott (EN-DE)

    01/11/2023, 6:31 AM
    @JanL - Once a workspace is created, you can go to its scheduling area.
  • s

    Scott (EN-DE)

    01/11/2023, 6:31 AM
    Then click on "Edit Schedule".
  • s

    Scott (EN-DE)

    01/11/2023, 6:32 AM
    Then stop the autostop.
  • s

    Scott (EN-DE)

    01/11/2023, 6:33 AM
    Not sure if there is a way to have that turned off as the default. But, the idea is, the workspaces cost resources, so having them turn off automatically to save resources is the better alternative. 🙂
  • p

    PixNyb

    01/11/2023, 10:31 AM
    Heyhey, I know i'm not entirely in the right place for my question but instead of waiting endlessly on stackoverflow i figured if anyone knew it'd be you guys. I'm messing around with microsoft's vscode implementation and just now started playing with the code CLI instead of the separate code-server CLI. Is there any way to have the tunnel thing run through my own proxy and use my own domains instead of vscode.dev?
  • p

    PixNyb

    01/11/2023, 10:31 AM
    I don't see the server subcommand anywhere either
  • s

    Scott (EN-DE)

    01/11/2023, 10:49 AM
    @PixNyb - I think, but am not sure, that your question is misplaced here too.
  • p

    PixNyb

    01/11/2023, 10:52 AM
    The microsoft variant doesn't have a discord :')
  • p

    PixNyb

    01/11/2023, 10:52 AM
    Or a community besides stackoverflow to speak of really
  • z

    ZeBigBoss

    01/11/2023, 5:35 PM
    Hi guys. I just installed Coder with the helm chart into my on-prem kubernetes cluster. It works! Now to start a template... It just says "coder template init" right? But how?? I don't have a server to SSH into right? Should I login straight to my coder pod or something? Or is there a web based SSH client ?
    k
    • 2
    • 14
  • s

    Scott (EN-DE)

    01/11/2023, 6:47 PM
    @PixNyb - Then go with Coder. 🙂
  • s

    Sebastiaan

    01/11/2023, 7:11 PM
    Hey, I had a question about the usage of Coder in combination with docker compose. How do I use the OpenID configuration flags when starting the container?
    k
    • 2
    • 3
  • c

    cookiesowns

    01/12/2023, 1:01 AM
    Is the 0.6.6 terraform version with the data.coder_parameter not meant to be working? I was under the impression defining this datasource & options will allow variables in the UI to be defined?
    k
    • 2
    • 8
  • j

    JanL

    01/12/2023, 1:58 PM
    Thank you!
  • t

    timoooooo

    01/12/2023, 2:43 PM
    @kyle is there a way to reset the folder that the vscode extensions opens on the remote? Because currently it always opens / and I would like to change this to /home/coder/workspace/ but I don't know how to reset it. When I connect to a newly created workspace I am asked which folder I would like to open, but I am not asked when using my current one
    k
    • 2
    • 4
  • s

    Sebastiaan

    01/12/2023, 2:45 PM
    @Phorcys I am trying to enable the first user with docker-compose, I place the following under environment in the coder service:
    Copy code
    CODER_FIRST_USER_USERNAME: "user"
    CODER_FIRST_USER_EMAIL: "user@gmail.com"
    CODER_FIRST_USER_PASSWORD: "1234"
    When I start the containers it keeps asking for a first user however, also after removing all containers, volumes etc
    k
    • 2
    • 4
  • s

    Sharp

    01/12/2023, 4:06 PM
    Hey! I was wondering if anyone had tinkered with getting kubectl to be accessable from inside a coder pod? In terms of my setup, I am definitely messing with god, running coder inside a deployment on k3s. I have got to the stage of running a dind workspace (Sysbox is not supported on k3s yet I don't think https://github.com/nestybox/sysbox/discussions/626), it would also be great to be able to access kubectl
    k
    s
    • 3
    • 14
  • j

    JanL

    01/12/2023, 7:03 PM
    Is there already a plan for Credentials management? We have users who need confidential envvars in their workspace. As they're per user its not an option to put them into the template. I thought of creating something with vault and the kv engine, where each user has like a subpath and all kv pairs of this path are populated within the workspace (either as envvars or as files) - but would be happy if there is already a better integrated solution (either present or on the horizon).
    k
    • 2
    • 6
  • m

    modrin

    01/12/2023, 7:14 PM
    Is it possible to limit docker container resources via Templates? Like docker has
    --cpus=<value>
    ?
    k
    • 2
    • 7
  • e

    evxn

    01/13/2023, 1:14 AM
    Dont know what im doing when it comes to this stuff at all does anyone know how i could change text on a simple exe / batch type file
  • e

    evxn

    01/13/2023, 1:15 AM
    this type thing
  • c

    Codercord

    01/13/2023, 1:16 AM
    This is the wrong server, you are looking at the discord server, which is a product that lets you use remote machines as development environments. you can ask in discord.gg/programming
  • k

    KozmikNano

    01/13/2023, 2:07 PM
    I rebooted ubuntu server and it decided it would be a perfect time to delete the system service 💀
    k
    • 2
    • 7
  • h

    Hannsr

    01/13/2023, 4:05 PM
    This is a long shot, but: Is anyone aware of a way to make ptrace possible inside the (docker) workspace? I know I should add ``--cap-add=SYS_PTRACE`` to the container, but I'm not sure on how to achieve that with coder. (Have a nasty bug within the workspace I can't find and a trace seems to be my last hope)
    k
    • 2
    • 9
  • h

    h888t

    01/15/2023, 11:08 AM
    does anyone have any examples of coder templates mounting multiple volumes in docker? even better if one of the volumes is shared between multiple docker containers
  • c

    cfouche

    01/15/2023, 11:20 AM
    check this https://github.com/cfouche3005/Coder-Templates/tree/main/template and for shared volume I think you can add a volume with the same name and ID and it will be shared
  • h

    h888t

    01/15/2023, 12:01 PM
    that works! but destroying any of the workspaces seems to also lead to an attempt to destroy the shared volume
  • c

    cfouche

    01/15/2023, 12:03 PM
    check the doc for terraform docker, I remember there is a parameter to not destroy the volume
  • h

    h888t

    01/15/2023, 12:40 PM
    hm, cant seem to find it
    Copy code
    remove_volumes
    set to false doesnt seem to work, nor lifecycle options
  • h

    h888t

    01/15/2023, 12:52 PM
    ok simple solution was to manually create the volume and mount in docker_contaienr resource, vs defining in terraform
1...474849...96Latest