---
title: "Discussion on \"How to Use Laravel Sail with Docker for PHP 8.2 (No Global PHP Upgrade Needed)\" | Hashnode"
description: "Discussion on \"How to Use Laravel Sail with Docker for PHP 8.2 (No Global PHP Upgrade Needed)\". Use Laravel Sail with Docker to run projects requiring PHP 8.2 while keeping your system's PHP version untouched. Perfect for locked-down work environments."
url: "https://hashnode.com/posts/how-to-use-laravel-sail-with-docker-for-php-82-no-global-php-upgrade-needed/681a508439d35383c5bf43c3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Use Laravel Sail with Docker for PHP 8.2 (No Global PHP Upgrade Needed)](https://patriciosalazar.hashnode.dev/how-to-use-laravel-sail-with-docker-for-php-82-no-global-php-upgrade-needed?utm_source=hashnode&utm_medium=feed)

Use Laravel Sail with Docker to run projects requiring PHP 8.2 while keeping your system's PHP version untouched. Perfect for locked-down work environments.

May 6, 2025 · 4 min read · patriciosalazar.hashnode.dev  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#php8](https://hashnode.com/tag/php8)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#docker](https://hashnode.com/tag/docker)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Patricio Salazar](https://hashnode.com/@PatricioSalazar)

@PatricioSalazar

  
[View profile](https://hashnode.com/@PatricioSalazar)

Working on side projects non-stop

I'm a Software Developer with a full-time "9-5" working on Side Projects and sharing about it.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
