I am a newbie in docker and I am studying about this. I am trying run this command:
sudo docker run ‐d ‐p 8080:80 ubuntu/nginx /usr/sbin/nginx ‐g “daemon off;”
but the result this command is: docker: Error parsing reference: “‐d” is not a valid repository/tag.
The goal this command is mount a a container in background. But I can’t find parameter -d in docker manual.
What did I do wrong?