I've been trying out Kompose to convert my Docker Compose files into Kubernetes manifests, and I'm running into some problems. For instance, when I tried converting a Compose file for ForgeJo, it unexpectedly turned my localtime bind mount into a bizarre hex dump of the actual localtime binary! Has anyone else experienced issues like this, or am I just using it incorrectly?
2 Answers
I just tested the ForgeJo example with Kompose and it converted just fine! So it might be just a matter of how the Compose file is set up or your specific environment.
I’ve actually had pretty smooth experiences with Kompose, but it can struggle if the original project isn’t designed with containers in mind. It feels a bit like forcing a round peg into a square hole! You may have to adjust the app's structure or lose some of that cloud-native goodness to make it work.

I guess I must have messed it up then! I've got no experience with Kubernetes, so I'm probably just not doing it right.