Hello guys, please, explain me, why i need forge and not docker. I want to show my team that forge is best that docker, but i haven’t great arguments for this. Help pls)
I'm not sure what you're meaning exactly. They're completely different things. Forge builds and provisions linux servers as well as being able to be used as a deployment tool. Docker is a container technology. Both can run laravel, but are not the same thing.
I can use docker, for example, for local dev, but if i want to scale my app i need a great expirieance with devops. Instead i can use laravel forge that have scaling out of the box
If you use Docker, you have the advantage of being able to run only the processes you need for your app to run, and run the same in both development and your live environment. Docker is extremely scalable too provided you do it right.
But as said, they are not the same thing, they are not comparable. You could run Docker in dev and Forge on live. You could run Docker on Forge. You could have a need for some library you need installed on your OS that doesn't come with Forge and end up needing to provision that yourself on both Forge AND your local dev environment, so you're doubling the effort.
This isn't a fanboy game - if you have no reasons on why Forge is better for your situation, then simply don't use it - Forge is not the only solution. Like everything, Forge and Docker are both tools and it depends how you use them. If the rest of your team is familiar with Docker, great.