你不想要-f
国旗。那是在做别的事情。只需将其删除。
运行:cf local pull myProject
后跟cf local run myProject
命令的名称pull
应与命令的名称匹配run
。在你的情况下,有一个区别:myProjekt
vs myProject
。
如果你跑步cf local --help
,你可以获得更多帮助。这是run
.
RUN OPTIONS:
run <name> Run a droplet with the configuration specified in local.yml.
Droplet filename: <name>.droplet
-i <ip> Listen on the specified interface IP
Default: localhost
-p <port> Listen on the specified port
Default: (arbitrary free port)
-d <dir> Replace the app directory with the specified directory.
The app directory from the droplet is ignored.
Default: (not mounted)
-w When used with -d, restart the app when the contents of the
specified directory are changed.
Default: false, Invalid: with -t, without -d
-t Start a shell (Bash) with the same environment as the app.
Default: false, Invalid: with -w
-s <app> Use the service bindings from the specified remote CF app
instead of the service bindings in local.yml.
Default: (uses local.yml or app provided by -f)
-f <app> Tunnel service connections through the specified remote CF
app. This re-writes the service bindings in the container
environment in order to use the tunnel. The service
bindings from the specified app will be used if -s is not
also passed.
Default: (uses local.yml)