You can tell it is written by C programmer because they think installing dependencies is hard.
You could easily run a Rust program on bare Linux, but using Docker might simplify the version management story.
But even if you use a language with a sane dependency management story, you probably depend on PostgreSQL, and running it in Docker can be easier than installing it on the system (since distros really like to mess with the PostgreSQL configuration).
However, some (maybe even most) C libraries' Rust bindings deal with this automatically when installed via Cargo.