Laravel Sail and Docker
Your containers with Yard domains and HTTPS.
Keep your Sail environment
Yard detects laravel/sail projects with a Compose file. Install Docker Desktop or a compatible provider such as OrbStack separately.
- Select the project in Applications.
- Find Sail in the inspector.
- Enable Run with Sail.
- Review startup, ports, and service status.
Yard allocates free ports when conflicts occur, adjusts required environment values, and proxies the .test domain to the container. Nginx terminates local HTTPS in front of Sail.
Project-aware commands
yard sail:status
yard sail:start
yard php artisan about
yard sail:stop
PHP and Composer wrappers run inside the container for registered Sail sites. The container controls its runtime; selecting host PHP does not change the image.
Disabling integration restores Yard’s changes while preserving later manual edits. It does not remove Compose files. Sail workspaces are outside this integration. See the Sail reference.