My blog post about running Docker for local development is instead going to be a book of about 100 pages. First half is what is Docker and how to set it up for local dev. Second half is how to make that all palatable using bash.

https://devbox.computer

To sign up for a discount when the book comes out.

Website for the book “Sustainable Dev Environments with Docker and Bash”

@davetron5000 The get notified bit doesn't work for me. After submitting it says Safari can't establish a secure connection.
@muhkayoh Weird - I do see that your email was recorded. I have noticed sometimes Safari just randomly says it can't establish a secure connection. This is my first time using formspark, so I wonder if it's doing something weird and/or you have an extension that's contributing (or I have one that prevents it from happening?:)
@davetron5000 Thanks for checking. As long as I'm on the list, no real problem. I don't really have much in the way of extensions installed: an RSS reader and one for Parallels. Maybe one of those mangled something. I do have a few settings that sometimes cause issues. Autoplaying videos is turned off, for instance, and very few sites seem to test with that setting. But unlikely the issue here I think. Anyway, looking forward to the book.
@davetron5000 no offense, but I can’t tell if this is satire or not. If it is, bravo. If it isn’t, well. Hm.
@aaronjensen it’s a bit of both. It really does contain the promised information. But it gives Docker a fair bit of grief for some of its questionable decisions.

@davetron5000 I could do it in one word (or two depending on how you count contractions):

Don't

In seriousness, the only reason I would buy is for security's sake. Otherwise it's far more trouble than it's worth. I did it 100 years ago before docker was cool and it wasn't a good idea then either.

@aaronjensen I dunno I got tired of every new macOS breaking Ruby, asdf having random problems, Postgres never installs the same way twice, etc. Docker has solved all that for me. But it took a lot of diving to understand how it works. Or at least the 25% of it needed to run a dev environment.
@davetron5000 I can't say I've experienced any of that, and I use all those same tools. I do know one person who was recently frustrated with homebrew and postgres. They'd be the last to try Docker though.

@davetron5000

> Docker is powerful, but it's command-line invocations leave a lot to be desired.

Should not have an apostrophe.

@JayBazuzi d'oh - fix being pushed now. Thanks!
@davetron5000 is this about developing on a Mac, for the web, targeting Linux? Or does it go beyond those boundaries?
@JayBazuzi In theory this can apply to Linux or Windows (with WSL2). It is generally assuming that you are building a web or networked application that is to be deployed on Linux. It touches on some issues wrt to Mac.

@davetron5000 TBH, this is sort of why I haven't jumped into Docker so far.

I love the idea of it, but every time I've tried to wade in, it's gotten messy fast and I'm left to conclude that I'm just not smart enough to get it to work. And the issues with setting up my own dev environment haven't been awful enough to make me push through all that.

But if there's anyone who can make sense of it and explain it clearly, it's you, so I'm looking forward to the book!

@davetron5000 If you want a reviewer, I'm happy to help…