docker inspect nginx --format='{{.Config.Cmd}}'

docker inspect --format='{{.Path}} {{.Args}}' nginx