This guide will help you get started with DevBox by walking through the basic workflow.
Initialize a new DevBox project from a manifest repository:
devbox init https://github.com/pilat/devbox-example
Start all services defined in your project (requires sudo password on first run):
devbox --name example-app up
DevBox will:
- Fetch source code from the manifest repository
- Pull required Docker images
- Build services as needed
- Configure SSL certificates
- Update host files
- Start all services
To use your local source code instead of the manifest repository version:
cd /path/to/your/copy/of/service
devbox mount
# View logs for all services
devbox logs
# View logs for specific services
devbox logs service-name
# Stop all services
devbox down