Update on CF Dev
This repository is no longer receiving updates.
CF Dev is a distribution of Cloud Foundry designed to run on a developer’s laptop or workstation using native hypervisors and a fully functional BOSH Director. CF Dev gives application developers the full Cloud Foundry experience in a lightweight, easy to install package. CF Dev is intended for application developers who wish to develop and debug their application locally on a full-featured Cloud Foundry. CF Dev is also an excellent getting started environment for developers interested in learning and exploring Cloud Foundry.
Recommended system requirements
- Operating system: MacOS 10.12+/Windows 10+/Linux (Note: Only the
Ubuntudistro is currently suppported)
- CPU: 2 Cores or more
- Memory: 8 Gigabytes available memory
- Disk: 60GB flash storage
- Dependencies: QEMU and Libvirt for Linux
sudo apt install qemu-kvm libvirt-bin libvirt-doc
- Install the CF CLI
- Install the CF Dev plugin
cf install-plugin -r CF-Community cfdev
- Run CF Dev
cf dev start
Note: For more installation and configuration options, please see the FAQ.
- Install BOSH CLI v2.
- Set environment variables to point BOSH to your CF Dev instance
eval "$(cf dev bosh env)"
cf dev bosh env | Invoke-Expression
- Run BOSH
bosh <command you want to run>
To stop CF Dev run
cf dev stop. This will completely stop and destroy the CF Dev VM.
To uninstall the CF Dev cf CLI plugin run
cf uninstall-plugin cfdev.
To reclaim consumed disk space, delete your CF Dev directory:
rm -rf ~/.cfdev
Remove-Item -Recurse ~/.cfdev
Insecure Docker Registries: Invoke
cf dev startwith the
-rflag to specify a comma separated list of insecure docker registries that will be available for use during the
Proxy Support: Export
NO_PROXYenvironment variables during your terminal session to have them respected during the start process and within your CF Dev virtual machine. Not yet supported on the Linux platform.
Host Access: Access the host machine from within application containers using the
TCP Routing: You can learn more about TCP Routing from within the Cloud Foundry platform here.
Here on the CF Dev team, we use telemetry to help us understand how our tool is being used. We value our users privacy, therefore all telemetry is completely anonymous. There is no way for anyone with the telemetry to identify who is using the CF Dev tool. In an effort to make our data as transparent as possible, we will be publishing aggregated anonymous usage data to this page periodically to help our user community understand how the tool is being used.
In addition to making this data completely anonymous, we require users to opt-in to allowing us to collect telemetry from their tool. Upon running
$ cf dev start for the first time, we will prompt the user to opt-in to capturing analytics. Any time after that you can turn on/off telemetry by running
$ cf dev telemetry --on/off.
You can learn more about what we do with telemetry here