Yes. Otherwise any process which can access the TCP port has full root access on the computer where Docker is installed. And root access to the entire Docker swarm cluster if swarm mode is enabled and the current node is acting as a manager.
Whether or not giving root access to a system performance tool is wise is left as an exercise to the reader.
Whether or not giving root access to a system performance tool is wise is left as an exercise to the reader.