docker: “commit” requires a maximum of 2 arguments

I am trying to do a docker commit from the tutorial :

$ docker commit -m "Added json gem" -a "majid"  9d5a8e18f150 ouruser/sinatra:v2

but I got :

  • gcloud preview app setup-managed-vms gives errors - 500 Server Error: Internal Server Error
  • Cannot connect to HTTPS (443) from a docker image
  • Docker: I'm not able to make working a volume binding at runtime
  • Why are sessions for my two Laravel sites conflicting?
  • Docker API version with Docker login in CentOS 7
  • How do debug multiple core services in containers from Visual Studio Mac
  • docker: "commit" requires a maximum of 2 arguments.

    I googled it, could not find a solution.

  • Deploying scala app as a docker container
  • How to configure a Docker container to be reachable by container_ip:port from outside the host machine?
  • How to remove old docker images in continuous integration to save disk space
  • rawmemchr: symbol not found in nodegit with docker
  • Does docker-compose up destroy old database?
  • Rancher OS: generate data in one container and set as environment variable in another container
  • 2 Solutions collect form web for “docker: “commit” requires a maximum of 2 arguments”

    I found the solution, it looks like docker does not like space :

    $ docker commit -m "addedjsongem" -a "majid"  2d9666177b46 ouruser/sinatra:v2

    I had the same problem.

    I have copied instructions from web page to docker. The problem is the character ", because is not same.

    When I typed " in terminal (not copied), all works fine.

    I hope this solves this!

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.