
Getting Started Guide
How to Use Depot
A practical guide to get you up and running with Depot. Written by Delv Editorial, Delv Team.
Getting started with Depot
In this guide, you'll learn how to set up Depot and create your first container build using its intelligent caching feature. By the end, you'll be able to streamline your CI/CD processes and improve build times significantly.Step 1: Sign up and set up
- Go to depot.dev.
- Click on the Sign Up button in the top right corner.
- Enter your email address and create a password, then click Create Account.
- Check your email for a verification link and click it to verify your account.
- Log in to your new account.
Step 2: Your first container build
- After logging in, click on the New Build button on the dashboard.
- Choose a repository from the list or connect a new one by clicking Connect Repository.
- Select your desired branch and click Next.
- Configure your build settings by specifying the Dockerfile path and any build arguments.
- Click Build Now to start the build process.
- Monitor the build progress on the dashboard. Once complete, you’ll see a summary of the build and any cached layers that were reused.
Step 3: Get better results
- To optimise your builds, ensure your Dockerfile is structured to take advantage of caching. Place frequently changing commands (like
COPYfor application code) towards the end of the file. - Use the Build Settings to adjust caching options if necessary. Make sure Enable Caching is ticked to benefit from persistent intelligent caching.
- Regularly check the Build History to analyse which layers are being cached effectively and adjust your Dockerfile accordingly.