Docker commands

docker run
-v $(pwd):/app/project
-v $(pwd)/models/rasa_core:/app/models
rasa/rasa_core:latest
train
–domain project/domain.yml
–stories project/data/stories.md
–out models

How to execute the above command . I am getting errors when executing the above command.