V2版本安装php运行环境报docker命令错误

创建php环境的时候报docker命令参数-f 使用错误,但是安装软件都没问题,这个是什么情况?下面是报错信息,系统是银河麒麟V10。

restart Restart one or more containers

rm Remove one or more containers

rmi Remove one or more images

save Save one or more images to a tar archive (streamed to STDOUT by default)

start Start one or more stopped containers

stats Display a live stream of container(s) resource usage statistics

stop Stop one or more running containers

tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

top Display the running processes of a container

unpause Unpause all processes within one or more containers

update Update configuration of one or more containers

wait Block until one or more containers stop, then print their exit codes

Global Options:

–config string Location of client config files (default

“/root/.docker”)

-c, --context string Name of the context to use to connect to the

daemon (overrides DOCKER_HOST env var and

default context set with “docker context use”)

-D, --debug Enable debug mode

-H, --host list Daemon socket to connect to

-l, --log-level string Set the logging level (“debug”, “info”,

“warn”, “error”, “fatal”) (default “info”)

–tls Use TLS; implied by --tlsverify

–tlscacert string Trust certs signed only by this CA (default

“/root/.docker/ca.pem”)

–tlscert string Path to TLS certificate file (default

“/root/.docker/cert.pem”)

–tlskey string Path to TLS key file (default

“/root/.docker/key.pem”)

–tlsverify Use TLS and verify the remote

-v, --version Print version information and quit

Run ‘docker COMMAND --help’ for more information on a command.

For more help on how to use Docker, head to Docker Docs

升级到最新版本试一下