okay, but that only allows you to deploy to a docker engine.
at best, you can deploy that app to a Docker Swarm. Docker Swarm is not reasonably comparable to K8s.
there are tools (and colleagues ! :) ) to transform docker compose files to K8s manifests.