Configuring PCF Dev
Note: If you are using PCF Dev v0.30 or earlier, see Configuring PCF Dev (Legacy).
PCF Dev supports several different configurations. This topic describes how to start PCF Dev with specific memory usage, core count usage, custom startup .iso files, and Cloud Foundry services, among others. It also describes ease-of-use functionality, including automatically targeting PCF Dev and trusting PCF Dev certificates.
cf dev start command supports the following configuration-specific flags at startup:
||Specify the number of processor cores used by VM. Default: 4.|
||Specify memory to allocate for VM. Default: 8 GB.|
||Specify Docker registries that PCF Dev will use without SSL validation. Use
You can push applications to PCF Dev from Docker images.
By default, these images must be hosted on Docker Hub. Use the
-r flag to specify Docker registries that PCF Dev should allow you to push from, even if those registries do not have valid SSL certificates.
The following example shows how to start PCF Dev and push an app using an existing insecure Docker registry on your host running on port 5000:
$ cf dev start -r host.pcfdev.io:5000 ... $ cf dev target Successfully logged in to api.local.pcfdev.io as user. $ cf push -o host.pcfdev.io:5000/repository/image