You have a docker container running on a remote server. Do you use. A.

You have a docker container running on a remote server.
Do you use
A. dev container extension in vscode and connect to that container directly
B. ssh remote extension in vscode and first connect to server then docker attach the container in the terminal panel
C. ssh only and connect directly to the server and docker attach then vim editing?

  1. 2 weeks ago
    Anonymous

    Ask in Slack what are the other people doing, chit chat a little and then also ask the bot, do what is needed and end the day early to go play StaraField. Let the timer running till end of turn and some more.

    repeat till paycheck.

    • 2 weeks ago
      Anonymous

      >plays boring dogshit AAA goyslop
      >relies on AI because he doesnt understand what hes doing
      >in it for the money, no actual interest in his work or field
      i would kill myself if i were you

      https://i.imgur.com/HJ3MCDA.png

      You have a docker container running on a remote server.
      Do you use
      A. dev container extension in vscode and connect to that container directly
      B. ssh remote extension in vscode and first connect to server then docker attach the container in the terminal panel
      C. ssh only and connect directly to the server and docker attach then vim editing?

      C because why would i ever use vscode?

      • 2 weeks ago
        Anonymous

        >why would i ever use vscode?
        to get employeed

        • 2 weeks ago
          Anonymous

          im already employed without installing this worthless pile of shit?

        • 2 weeks ago
          Anonymous

          C. I don't use vscode, besides k8s bash exec is locked behind an escalated privileges mode.

          10 years without it, no one has ever said shit like "vscode or get fired".

  2. 2 weeks ago
    Anonymous

    > cant sign your commits without all this hacky shit
    tfw home lab running 32 cores while running a thin client that is light as a feather

  3. 2 weeks ago
    Anonymous

    If you're routinely editing files from within a container then consider why you're doing that and whether there's a better way.
    For example, could the files you're editing be stored outside the container and bind mounted in?

    • 2 weeks ago
      Anonymous

      >If you're routinely editing files from within a container
      How is that a bad thing if you are editing files on the mounted folder?

    • 2 weeks ago
      Anonymous

      Why the fuck are you messing with containers remotely? And is right, it is literally written on docker docs.

      >If you're routinely editing files from within a container
      How is that a bad thing if you are editing files on the mounted folder?

      Then you shouldn't mess with it from within the container. You are supposed to have persistence using bind mounts.

      • 2 weeks ago
        Anonymous

        >Why the fuck are you messing with containers remotely?
        not OP but a lot of container images themselves need to be tested in remote environments mirroring production
        you're right that you definitely shouldn't be fucking around with files from inside the container regularly, though

  4. 2 weeks ago
    Anonymous

    Why the fuck would I need to remote into a docker container? Stop cargo culting. If you don't have so many containers that individually maintaining them is not a viable solution then you don't need Docker.

    • 2 weeks ago
      Anonymous

      >If you don't have so many containers that individually maintaining them is not a viable solution then you don't need Docker.
      Not sure I agree. Docker is very useful for hosting individual single-server services as well. You still shouldn't be remoting into one except for debugging, of course, being a normally sealed box is the whole point of a container.

      • 2 weeks ago
        Anonymous

        >Not sure I agree. Docker is very useful for hosting individual single-server services as well.
        If you only have one hosted service you ABSOLUTELY should not be using containers.
        And debugging in production by stepping through the production deployment? Holy shit, how old are you? What back water hick service do you operate?

        • 2 weeks ago
          Anonymous

          >If you only have one hosted service you ABSOLUTELY should not be using containers.
          Why?

          >And debugging in production by stepping through the production deployment?
          No, that's not what I meant. I'm talking about things like figuring out what the fuck went wrong on production on some freak error when the logs aren't being helpful and you have the fish the relevant traces out of the pod somewhere.

  5. 2 weeks ago
    Anonymous

    I'd probably go for a personally hosted VPN, then run code-server on the server

  6. 2 weeks ago
    Anonymous

    i use b even though it litters the workspace with sketchy folders

  7. 2 weeks ago
    Anonymous

    A

  8. 2 weeks ago
    Anonymous

    >hey, you know trendy framework that big important people use?
    >what's the best way to use it in such a way that demonstrates that you completely don't understand its use case
    >should I use VS Code extension or should I just use the command line through VS Code
    nu devs I swear. any time I see someone advocating VS Code I'll think of you

  9. 2 weeks ago
    Anonymous

    Neither, testing is done locally and production and UAT containers are immutable, nobody is allowed to connect

  10. 2 weeks ago
    Anonymous

    A because i want to get shit done

  11. 2 weeks ago
    Anonymous

    I'm going to hijack this thread to ask you Docker-chads how do you update all your docker containers at once.

    For example, I have multiple docker-compose.yml files running on my servers.
    How do I easily update them all without needing to run commands for each individual yml file?

    • 2 weeks ago
      Anonymous

      find with exec

    • 2 weeks ago
      Anonymous

      Just write a bash script

Your email address will not be published. Required fields are marked *