I’ve been writing code professionally for 24 years, 15 of which has been Python and 9 years of that with Docker. I got tired of running into the same complications every time I started a new job, so I wrote this. Maybe you’ll find it useful, or it could even start a conversation, but this post has been a long time coming.

Update: I had a few requests for a demo repo as a companion to this post, so I wrote one today. It includes a very small Django demo user Docker, Compose, and GitLab CI.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    I either missed it or it isn’t in the “developer tools” section: how do you connect this to an IDE or editor with an LSP or DAP? The image might have python:3.12 but locally you only have python:3.6 mind you, so it’s not something one can ignore. How do you handle this?

    Anti Commercial-AI license

    • dallen@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      In VS code these should work through the Remote-Containers flow, just like they do through Remote-SSH.