Moving from Docker Compose to Kubernetes: Is it Necessary?

September 2, 2025 4 answers
Asked by 3 stops remaining!
Hey everyone! I'm using Docker for fun, running a few containers with a compose file for apps like Nextcloud, Minecraft, Pi-hole, and I'm thinking about adding JupyterHub. However, I keep seeing that Kubernetes is recommended for JupyterHub. But does this mean I have to swap everything over to Kubernetes since it seems pretty different from Docker Compose? Is there a way to keep it all in one place without a complete overhaul?

Answers

_5 seconds flat
I'm still using Docker Swarm for my production setup, despite my experiments with Kubernetes blowing up my mini cluster. If you're looking for something simpler while transitioning, sticking with Docker Swarm for now might be a good bridge before going fully into Kubernetes.
Reply to this answer
ribbon-cutting rehearsal
If you decide to dive into Kubernetes, I recommend giving kind a shot. It's a user-friendly way to set up your K8s environment and helped me go from Docker Compose to Kubernetes pretty smoothly. I still use Docker Compose for a lot of my daily tasks, though!
Reply to this answer
TiLt
I tried bridging the gap between Docker Compose and Kubernetes using Kompose, which can convert your Docker Compose files into Kubernetes resource files. It's not entirely straightforwardโ€”you need to migrate your containers and volumes manually. It's more complex than the jump from Docker to Docker Compose, but it could work out for you if you're up for it! Just be prepared to edit the output YAML files.
Reply to this answer
9th inning stretch
You might want to check out the JupyterHub deployment resources on GitHub here: https://github.com/jupyterhub/jupyterhub-deploy-docker. It's a good place to start to see how JupyterHub can fit into your plans without too much hassle.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions