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

    Phorcys

    10/02/2022, 4:02 PM
    but it's not really the main point
  • p

    Phorcys

    10/02/2022, 4:02 PM
    I think it'd still be nicer if we could add a ``coder_app`` directly using the CLI
  • t

    thehedgefrog

    10/03/2022, 9:07 PM
    What is the best practice to do Docker in Docker? I have Coder running on Docker and I'm not sure how to work with it when it comes to developing Docker (ie docker build, docker run commands). Any accepted best way of doing it?
  • t

    timoooooo

    10/03/2022, 9:22 PM
    I just saw that workspace quotas have been merged how can I try this out? 😍
  • p

    Phorcys

    10/04/2022, 5:48 AM
    you would pass the docker socket to the containers, either by mounting ``/var/run/docker.sock`` or by using a sock proxy and mouting that output file
  • p

    Phorcys

    10/04/2022, 5:48 AM
    or you can use ssh by setting the ``DOCKER_HOST=ssh://whatever`` variable
  • p

    Phorcys

    10/04/2022, 5:49 AM
    keep in mind the user will be able to access every running container on the host
  • p

    Phorcys

    10/04/2022, 5:51 AM
    or you could make a "privileged" container, which will make it possible to run a separate docker instance inside of the docker container
  • p

    Phorcys

    10/04/2022, 5:51 AM
    but then the CT will have access to devices
  • a

    Atif

    10/04/2022, 8:48 AM
    what happens if a workspace is running and we do a
    systemctl restart coder
    m
    d
    • 3
    • 9
  • p

    Phorcys

    10/04/2022, 9:36 AM
    try it out
  • p

    Phorcys

    10/04/2022, 9:36 AM
    my guess is that it'll just work normally
  • p

    Phorcys

    10/04/2022, 9:36 AM
    like
  • p

    Phorcys

    10/04/2022, 9:36 AM
    that the workspaces will stay alive
  • t

    thehedgefrog

    10/04/2022, 1:24 PM
    So if I get it correctly, I can't protect a Docker Swarm from the user if I do any of this - either the containers or devices will be accessible. I guess I'll have to dedicate a VM then.
  • p

    Phorcys

    10/04/2022, 1:25 PM
    indeed
  • t

    thehedgefrog

    10/04/2022, 1:26 PM
    Thanks!
  • b

    Ben

    10/04/2022, 7:09 PM
    @thehedgefrog We have some docs for Docker in Docker here: https://coder.com/docs/coder-oss/latest/templates/docker-in-docker. Has a couple of the use cases discussed
  • t

    thehedgefrog

    10/04/2022, 9:57 PM
    For
    sysbox
    , when the docs say
    host
    is that the Coder container itself or all hosts running Docker Swarm in my cluster? I haven't used that tool yet
    b
    • 2
    • 1
  • t

    timoooooo

    10/05/2022, 1:55 PM
    @kyle do you have some news when https://github.com/coder/coder/issues/2913 might be fixed? πŸ™‚
    k
    d
    • 3
    • 8
  • k

    Kot

    10/05/2022, 9:39 PM
    Woah, thanks a lot guys πŸ’™
  • a

    Atif

    10/06/2022, 10:04 AM
    nice. πŸ™‚
  • a

    Atif

    10/06/2022, 10:05 AM
    GitHub isn't approving my sponsorship account from months. πŸ˜„
  • p

    Phorcys

    10/06/2022, 12:05 PM
    can you create a post in #1006346052317753414 and post your terraform template in there?
  • t

    Tye

    10/06/2022, 5:47 PM
    i want to connect to a work space from vscode but my coder is on a vps how do i connecte to that work space
  • t

    Tye

    10/06/2022, 5:47 PM
    using codeross
  • k

    Kot

    10/06/2022, 7:22 PM
    you can use the vscode ssh remote extension (unsure if it's preinstalled)
  • k

    Kot

    10/06/2022, 7:22 PM
    and connect to it via ssh
  • t

    Tye

    10/06/2022, 9:07 PM
    Ye but i can't
  • t

    Tye

    10/06/2022, 9:08 PM
    It the server is a vps
1...222324...96Latest