Why I'm Ditching Docker for Lerd, with George Dumitrescu

Why I'm Ditching Docker for Lerd, with George Dumitrescu

Nov 18, 2026

Scott Keck-Warren George Dumitrescu

In this episode, Scott talks with George Dumitrescu about Lerd, his open source PHP development environment: why he wrote it in Go with Claude, why it runs on Podman instead of Docker, and how it gives every git worktree its own .test domain and database.

Chapters: 00:00 Meet George Dumitrescu 00:50 What Lerd does 01:52 Laravel Herd for Linux, then framework definitions 03:07 Why Go, and building with Claude 06:20 Podman instead of Docker 08:24 Git worktrees with their own database 10:00 A .test domain for every branch 12:12 Open source, framework stores and plugins 14:30 Request timing, the site doctor and safer git pulls 17:26 PHP communities around the world

Links:

Mentioned in this episode:

George's Links:

Scott's Links:

PHP Architect Social Media: <ul> <li>X: <a href="https://x.com/phparch">https://x.com/phparch</a></li> <li>Mastodon: <a href="https://phparch.social/@phparch">https://phparch.social/@phparch</a></li> <li>Bluesky: <a href="https://bsky.app/profile/phparch.com">https://bsky.app/profile/phparch.com</a></li> <li>Discord: <a href="https://discord.phparch.com">https://discord.phparch.com</a></li> </ul> Subscribe to our magazine: <a href="https://www.phparch.com/subscribe/">https://www.phparch.com/subscribe/</a> <h2 id="partners">Partners</h2> This podcast is made a little better thanks to our partners.

<strong><a href="https://ourcves.com/">OurCVEs</a></strong> <img class="size-full wp-image-18481 alignleft" src="https://www.phparch.com/wp-content/uploads/2026/07/Banners-OurCVEs-1-768x141.png" alt="" width="259" height="47" />

Your security posture, on autopilot with <a href="https://ourcves.com/">OurCVEs</a>

 

<strong><a href="https://www.coderabbit.ai/">CodeRabbit</a></strong> <img class="wp-image-18968 alignleft" src="https://www.phparch.com/wp-content/uploads/2026/01/show-300x157.png" alt="CodeRabbit - cut code review time & bugs in half Instantly." width="204" height="107" />

 

Cut code review time & bugs in half instantly with <a href="https://www.coderabbit.ai/">CodeRabbit</a>.

 

 

<strong><a href="https://www.phparch.com/consulting/">PHP Architect Consulting</a></strong> <img class="wp-image-18969 alignleft" src="https://www.phparch.com/wp-content/uploads/2026/07/PHP-Architect-Consulting.png" alt="PHP Architect Consulting" width="260" height="75" />

 

Your PHP codebase deserves a partner, not a contractor PHP Architect provides long-term technical partnerships for organizations that need senior-level PHP expertise that you can depend on <a href="https://www.phparch.com/consulting/">https://www.phparch.com/consulting/</a>

Music provided by Epidemic Sound <a href="https://www.epidemicsound.com/">https://www.epidemicsound.com/</a>

phpc #php #communityCornerPodcast #podcast #Lerd #Docker #Podman #Laravel #localdevelopment

Transcript

Scott Keck-Warren Scott Keck-Warren 0:05
Hello developers, and welcome to the PHP Architect Community Corner, where we have conversations with members of the web development community. I'm your host, Scott Kekwan, and today we're talking with George Dumitrescu about his project Lerd. George Dumitrescu is a senior developer and software architect with nearly 2 decades of experience delivering production-grade web applications. From co-founding a SaaS startup to leading engineering teams at companies across Romania, Germany, Ireland, and the United States, he brings deep experience in PHP, Laravel, Java, and modern JavaScript frameworks. George thrives on turning complex business requirements into clean, maintainable software that ships on time. Thank you, George, for finding some time to talk to us today.
George Dumitrescu George Dumitrescu 0:47
Thank you for having me.
Scott Keck-Warren Scott Keck-Warren 0:49
Yes, absolutely. So you were recommended, um, for us to interview because you're working on a project called Lurd. And can you kind of talk us through what Lurd is? is and what it does?
George Dumitrescu George Dumitrescu 0:59
Yes. So Lerd, it's a PHP development environment that helps you out build websites faster than any other one because Lerd meets you halfway. You give the site, the project to Lerd, and Lerd reads it and it configures you. It knows what services you need. It knows what configuration you need for your environment variables. And then it's just easy to like drop a folder and it will be set up for you.
Scott Keck-Warren Scott Keck-Warren 1:35
Okay. And so it's kind of like a drop-in replacement for like some other, like, so basically I'm like, I need to get my development environment running. I'll install Lurd and give it the folder and it just kind of magically works on its own to figure out what like databases and things I need.
George Dumitrescu George Dumitrescu 1:51
Yes. Well, it started for me more like a project to help me build something like Laravel Herd on Linux, but because on that time there was nothing similar on Linux, right? So it started like this. And then I said, why not just let Lerd configure every project that I have? So I don't enter in each environment file and start configuring database, Redis, and everything. Right? So I gave him the ability to read definitions of a framework. So that way, it's just simple. He knows that, okay, this is Laravel, this is Symfony, this is how I need to wire the environment variables, and this is how I need to run migrations and set up the environment.
Scott Keck-Warren Scott Keck-Warren 2:47
That's really, really cool. So I've been kind of fiddling with it. Like, I haven't gone all the way into it yet. I think it's going to be like my new default because I really do like how it looks so much nicer than having to deal with like, you know, the Docker Desktop and all those kind of things. But yeah, and so one of the things that I, there were a couple things that I noticed while I was like peeking around at it. And the first was is that it's written in Go. And can you kind of talk to us like why did you pick Go as the programming language for this?
George Dumitrescu George Dumitrescu 3:18
Well, Go, it's more close to PHP as a programming language. And I knew a bit of Go, but I didn't know it that much. So I started with Claude, and I could have known how to read and do a code review of what Claude is doing there. If I started in Rust, I had no idea what to expect of it, right? So using Go, I could understand what it's doing and I could review and go through iterations and make it more optimal.
Scott Keck-Warren Scott Keck-Warren 3:58
Okay. That's really fascinating. I find that like we've hit this point where like Go is becoming like one of the go-to languages for PHP developers. It's like Go and Rust are like the 2, depending on like where in the stack you're fitting. So it's really kind of interesting to see like how that all works out. So has there been any—
George Dumitrescu George Dumitrescu 4:18
And also Go can like deliver a binary and you can run it and have stuff like that.
Scott Keck-Warren Scott Keck-Warren 4:26
Yeah, I think it's really like a great solution for people nowadays, especially since like, you know, this is probably one of those places where we can't use PHP to do all of these different things that it's trying to do. It just seems like it would be like too much of a reach for PHP to try and like set up all these different pieces. And so was there anything that you found surprising about trying to get it to work in Go as you were going through it? Like, is there anything that you kind of were like, oh, this is amazing, or this is terrible?
George Dumitrescu George Dumitrescu 4:54
I like it. It's fast. It doesn't consume resources. Maybe building it in Rust was going to be a stretch, an overkill, because you don't really need that much of a infrastructure to manage in running local sites, right? And also Go has a lot of libraries that you can use, right? It is Caddy as a server, but I'm using Nginx. So it also has a certificate generator and so on, right? So it has a lot of tools for you.
Scott Keck-Warren Scott Keck-Warren 5:38
Yeah, but it's also just like only a, it's a development environment, not like a production environment. Okay, good. I wasn't sure about that. I was like, oh, it makes SSL certificates. I guess I missed that part of it as I was—
George Dumitrescu George Dumitrescu 5:49
Well, at the beginning it used mc certs, right? The tool. But lately with these security stuff, I noticed that it is not maintained. It was a while back since it had the last update, right? So I've dropped it and I started building local certificates directly in Go.
Scott Keck-Warren Scott Keck-Warren 6:17
Oh, okay. That's interesting. Yeah. And then the other kind of interesting architectural decision that I noticed that you made is you used Podman instead of Docker. And I think that like Docker seems to be the default for a lot of people. Can you kind of Like, what is the reason that you use Podman and not Docker?
George Dumitrescu George Dumitrescu 6:33
Well, Podman, first of all, to run Docker, you need to have root permissions to run it, right? So if you wanted to run it, for example, in immutable distro, you need to overlay Docker on top of your distro to run it. Podman nowadays comes pre-installed almost in all distributions. of Linux, right? And it's also run at user level. So you don't need any permissions to run Podman. The only permission that you need to give is to allow it to run on port 80 and 443, the SSL one. But other than that, you can set up Podman to run as a normal process in the systemd, right? So you can start processes with it at login, You can close it. And once you remove the systemd entry, it won't start. It's clean.
Scott Keck-Warren Scott Keck-Warren 7:33
That's really interesting. I think that the— I mean, for my work, I guess I should say, in particularly talking just about me, we default to Docker because we use Docker everywhere. It's the default in production and in development because it's kind of You know, as close as we can possibly get. So it's interesting to see, like there are downsides to it. Like I definitely think that like Docker has its issues. And I definitely am like curious to try and play around with like this more, especially since like, 'cause the 2 things that I found that like are like huge ones for me is that you have worktree support and you have like an MCP control plane. Um, and so can you kind of talk us through, like, like I know, like I know what the benefits of having those are, but so like, are you, is this kind of like set up to be a tool for agents to use for their development? Um, is that kind of like your, was that a forethought idea of yours?
George Dumitrescu George Dumitrescu 8:34
Yes. So nowadays, if you want to build something, uh, or even to review someone else's code, like you're working on a feature and then here is my colleague and I, hey, can you review this quickly? You don't want to git stash, git checkout, and then run migrations on your database just to see if what else, what your colleague has done works, right? So for this, we have GitHub, Git worktrees. But the way Lerd is doing, it's watching the worktrees, right? And when you're creating a worktree, It sees that and it configures that work tree to work as a subdomain inside your project, right? And it also verifies for you if you have in between branches difference between, let's say, migrations. And if there are differences in migrations, it will isolate the database. and copy the other branch database, copy it on a new database, and it will wire it so you have a separate database so you don't ruin something from your main branch.
Scott Keck-Warren Scott Keck-Warren 9:58
Yeah, I think that worktrees are one of these things that have just completely changed my view as a developer for the last couple of years, specifically because you can do that, where you're just like, I'm just going to spin up a whole new copy of my application right next to to it. Um, and the cool thing that I think that LURD does, um, is that it does that extra, it has like that test domain, like logic. And so, cause like I have done that, but with like ports. And so it's always the same domain, but different ports. And then it's a nightmare to try and figure out like, what am I doing on this port? So, so like, it's really cool that like the test domain concept kind of like follows through to, to like being able to go, okay, this is, this is what this branch is working on. And
George Dumitrescu George Dumitrescu 10:42
yes, and also it writes a configuration on Vite, for example, if you're using Vite, it writes a configuration so it knows that you're on a separate subdomain and everything on frontend just knows that this is the subdomain which needs to run at, right? So you don't have any CORS problems or something like that.
Scott Keck-Warren Scott Keck-Warren 11:06
Yeah. And that's, that's the issue that we've had to jump through is like, we have, um, like a bunch of rules where it's like, okay, like you use this port for this and this port for that and this port. And we do have shared, like a set of shared services, but like, it's mostly like, you know, trying to manage all of the, the, the running like frontend servers essentially is a, is a headache. So I'm glad that this is like a much better, uh, like solution for that. Uh, it's actually something I'm going to try and bring back to like our group and be like, we should just run these as test subdomains. I think that'll— That'll make things easier. And we'll be back after this word from our partners. Whether you're building your next great PHP application or maintaining solutions that your business depends on, PHP Architect Consulting is here to help. Our expert consulting team can assist with architecture, performance, modernization, security, and solving your toughest web development challenges. We embed directly in your engineering team, ensuring seamless integration and support. Together, we'll elevate your existing skills or build robust solutions that meet your business needs. Visit phparch.com to learn more about our consulting services, subscribe to our magazine, and register for PHP Tech. That's phparch.com. And we're back with George talking about Lerd. So this is an open source project. You can check it out. It is.
George Dumitrescu George Dumitrescu 12:17
It's MIT. Yeah, it's MIT. You can fork it, you can play with it, you can keep it, you can add stuff to it. It's yours. Once you download it or fork it, it's yours. Nothing, will ever require you money to run it or stuff like
Scott Keck-Warren Scott Keck-Warren 12:36
that. But that being said, is there anything that like the community can do to help? Like, so this seems like it's one of those tools that like we should be supporting. And so do you need like contributors? Do you need people writing documentation? Like, where is it that you need the most help right now?
George Dumitrescu George Dumitrescu 12:50
Well, at this point, we had a lot of contributors. But also, new ideas are welcome, and you can open a PR on the Laird GitHub. And also, we have this concept of stores. You can have your own store, but Laird has framework stores and services store, right? And then you can save, let's say, a framework definition is written in YAML file that can define what your framework can do. How can it hook up to services? How can you, like, even add packages? Let's say, for example, in Laravel, if you want to add Scout, then Lerd will know that you have added Scout and will suggest MailerSearch for you in order to work with it, right? So these are in the definitions. So if you have any project or services that is not yet in Lurd, it could be added very easy. And also this week we launched, let's say, a plugin store. We only have 4 plugins, but it's open.
Scott Keck-Warren Scott Keck-Warren 14:05
Okay. I missed that when I was going through everything because it was just out this week and just, there's going to be a delay in like the recording and like the publishing of this. So it'll probably be like 2 weeks ago, but That's interesting too. I'll have to take a look at that because I didn't notice that until just, just now that, that, that's an option, um, for things. So of all of like, like Lurd is very feature rich. Like I, I look at it and I'm like, this is like really well thought out. It's really well polished. Is there one feature that you wish more people knew about?
George Dumitrescu George Dumitrescu 14:33
Uh, let me think about it. Yes. So. For example, right now, if someone is thinking of a PHP development environment, everyone is thinking Herd, like you link it and that's it. It runs my PHP. I need to configure it. I need to, and that's it. That's the whole point, right? But with Lert, it's everything about Lert knowing your project. Right? And because it knows it, it could hook up into his insights, see what it requires, auto-configure it, and then based on that, it could also do benchmarks on your request. As you work, it reads your requests and makes a statistic, for example, on the site UI, makes like a P95 slowest route. And then you can click there and see what happened there. Like, why was this request slow? And you can see if you have N+1 queries or that something in the logic doesn't add up. And also we have like a doctor button or a doctor feature for the site where it checks everything that could go wrong for a site. For example, it checks if it's properly hooked up to database, if it has all migrations, if it are any Composer security packages that needs to be updated, if any environment variable is missing. It compares the example with what you have right now. For example, if you pull an update, someone may add a new environment variable. And the site may break, and you will not know. Click on Doctor, and you find out, hey, there is a new environment variable that you need to add, stuff like that. Also, I've added in the UI, I've added the git pull, git fetch controls, but that's, I know it's easy to do it in the terminal, but what this does, It's analyzed the differences and it proposed for you to run composer install, npm install, to make a snapshot of your database before you run migrations and run the migrations itself, right? So you could undo your git pull at any time.
Scott Keck-Warren Scott Keck-Warren 17:13
That's interesting. I didn't see that. That's also really kind of cool. Man, I got a lot of playing to do, I guess. This is like a really cool solution for for development. Um, okay. So I have, and I have one more thing that I was like really interested in. So like in your bio, you talk about how you worked in Romania, Germany, Ireland, and the United States. And like, I, I, I unfortunately am very much like a US PHP community person. Right. And I try to reach out to people across like the globe to get like all of their input. And like, do you feel like that there's a large difference in those PHP communities across all of those different regions or? You know, is there like, how is it working with different people, different PHP developers in those different areas?
George Dumitrescu George Dumitrescu 17:57
If you take away the language we're speaking, we are all the same. This is my bottom line. I didn't feel like if I'm working with Romanians, Germans, or any other, we are all the same geeks at the end of the day, and we are speaking in the same logic and patterns. Right? So if you take away the language that we're speaking, the modern language, we are all the same.
Scott Keck-Warren Scott Keck-Warren 18:23
Good. That's not really the best answer that anyone could possibly give. So unfortunately, I do have to draw this conversation to a close. Is there anything that you want to direct our listeners to before I let you go?
George Dumitrescu George Dumitrescu 18:35
Sure. Go ahead and check out Lerd. It's available on lerd.sh free. We even launch on Windows this week. So yeah, it's available on all platforms.
Scott Keck-Warren Scott Keck-Warren 18:53
Okay, awesome. So thank you so much for your time today.
George Dumitrescu George Dumitrescu 18:56
Thank you.
Scott Keck-Warren Scott Keck-Warren 18:57
And I really do appreciate like both your time, like your time now and your time for the community, because this is like a really cool solution. Like I am honestly thinking about like switching my personal project over to this as opposed to Docker, because like it solves a bunch of problems that I have like with Docker right now. So I really think it's going to be like, this is a really nice solution for a lot of things. So I really appreciate that.
George Dumitrescu George Dumitrescu 19:22
Yeah, thank you. I built this because I also needed something that will make my life easier, right? So every iteration that I had since I started this project was, and I've added is because I've noticed it while working with my projects, I think, oh, maybe it's cool to add this also. I don't want to have a lot of chores in working with the project, right? So I wanted to take away the chores and have the automation because there's a lot of repetitive stuff that we are doing at the end of the day in running and managing a project. So why not let someone like a little program Do the chores and let me focus on the project.
Scott Keck-Warren Scott Keck-Warren 20:06
I had to say another heartfelt thank you to George for all of his time, as well as yours for listening. If you're not already a subscriber, make sure you subscribe with whatever your preferred method is. This video is available both as a video version on our YouTube channel, as well as an audio version on our website. And maybe share this post with a coworker so that they can learn about Lerd as well. This is Scott Keck Warren for the PHP Architect Community Corner, signing off and reminding you to keep listening, keep coding, and keep reading.