What is the remote api command equivalent to 'docker run -d'?


I'm trying to call docker commands via remote api.

Docker remote api does not seem to have 'Detached mode' option. http://docs.docker.io/en/latest/commandline/command/run/

I could use this app in the bash, and I would like to use this via remote api. https://github.com/grigio/docker-stringer

Indeed, the remote API does not have a 'dettach' mode as the 'attach' mode is an extra endpoint.

If you want to run in detach mode with the remote API, simply create and start your container without attaching to it.