For me, repeatability and ease of management - I used to be really demotivated by having to start from scratch with a Raspbian install whenever I built a project but all the prebuilt base images for different languages/OS and configuration as code due to Docker make the Pi so much nicer to use for stuff like this.