|
|
|
|
|
by mc4ndr3
1506 days ago
|
|
Is this a joke? "Don't put the app inside Docker", when that's the whole point of Docker. It's one thing to support arbitrary repointing of local vs containerized system components via application configuration. But don't rule out the primary use case for Docker: running application processes. "Use docker-compose", when minikube is available. Both Docker and minikube prepare an application for production Kubernetes deployment. But docker-compose is wasteful. |
|
I'm afraid you misread the article. The article mentions that the whole point of a Docker image is to deploy the application, but it "shouldn’t include the actual application code itself". The article is focused on local deployments to test and debug code.
The whole point is that the Docker image has everything to run the app, but instead of being forced to rebuild a Docker image every time you touch a source file, you just mount your local workspace and run whatever you wish to run without wasting time rebuilding anything.