docker deploy vs docker stack deploy

According to the docs they are two same commands:
docker stack deploy and docker deploy.

Is that the case or some information is hidden somewhere?

  • 'docker exec' environment different from 'docker run'/'docker attach' environment?
  • How to connect to Docker instance from a different VM
  • How can I run a docker container on localhost over the default IP?
  • It's possible to add an interface to a Docker container for speed up connectivity?
  • Reset Docker Machine to run Docker commands on my local machine
  • Running gunicorn with SSL on localhost? (with docker)
  • How to do --rm and --restart in dockerfile?
  • is it possible to run virtualbox inside a docker container
  • Using --add-host or extra_hosts with docker-compose
  • Docker container IO performance
  • fluentd JSON Parser: get Messages that cannot be parsed
  • Using dotnet from docker to power Visual Studio C# extension (OmniSharp)
  • One Solution collect form web for “docker deploy vs docker stack deploy”

    The commands are synonyms, they hit the same backend API. Docker is in the first steps of transitioning from from docker $verb commands to docker $noun $verb, so you’ll also see commands like docker images from before and docker image ls, or even docker ps and now docker container ps.

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