Stop PeerTube service from the Docker container

I would like to run prune-storage.js and the documentation states that I need to stop PeerTube server before that.

The tutorial says to use systemctl stop peertube, however that command cannot be used from the Docker container.

How can I stop the PeerTube service when using the Docker version?