Referring to https://github.com/docker/cli/pull/271 The flag used in the project `--password-stdin` is supported after docker 17.07
Referring to docker/cli#271
The flag used in the project
--password-stdinis supported after docker 17.07