.devcontainer: why is the host's docker.sock mounted into the container?

In the .devcontainer configs the host’s docker.sock is mounted into the container and docker is installed within the container.

(The blobs refer to the current master)

What’s the reasoning behind this?

This was introduced with the initial commit and currently I see no use case for Docker within the container environment.

cc @R0Wi do you know?