Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In local environment, should I use docker-compose or kubernetes (minikube)?

I've already some environments setted with docker and docker compose, so I have diferent containers with diferent services, and all of them are orchestrated by docker-compose, and it works ok in my local dev environment. Recently I've read about kubernetes and minikube, but aparently, kubernetes is a tool more for servers/clusters of containers management.

The question is, for a local dev environment (php, mysql and apache for example), what container orchestration mechanism should I use?

like image 838
lpFranz Avatar asked Feb 05 '23 01:02

lpFranz


1 Answers

There are lots of decision criteria. If there is a target environment for this application- use local tools that best approximate that target environment. If the target environment runs kubernetes, best to use minikube. If the target environment is some flavor of clustered docker, use compose. If there is no target environment, use whatever you're most comfortable with or want to learn.

like image 76
Jonah Benton Avatar answered Feb 11 '23 21:02

Jonah Benton