Was having trouble testing my scheduled docker container. After some playing around, it seems the correct command is: docker exec portainer-backup npm run backup In case you want to update in the readme. Thanks for the great work by the way!