But a dockerfile is not yaml. do you mean for docker compose?
You’re right. I’m sure there is a containerfile lsp however.
https://github.com/sublimelsp/LSP-dockerfile