Docker run help

hello all,
A first time docker user here who could do with some help,
I am trying to get a container to stay open running docker run -d container name but it keeps coming up with the error "unknow short hand flag: “r” see docker --help.
I am running docker on a Linux SSH server.
thanks,
Ben