2021-05-21
1562
#docker#laravel
Samson Omojola
48683
May 21, 2021 â‹… 5 min read

Laravel and Docker: A guide to using Laravel Sail

Samson Omojola I'm an experienced software engineer. I love creating applications with responsive, beautiful, intuitive, state-of-the-art designs. I'm skilled in HTML, CSS, JavaScript, Ionic, React, PHP, Laravel, and Flutter.

Recent posts:

How To Integrate WunderGraph With Your Frontend Application

How to integrate WunderGraph with your frontend application

Unify and simplify APIs using WunderGraph to integrate REST, GraphQL, and databases in a single endpoint.

Boemo Mmopelwa
May 17, 2024 â‹… 5 min read
Understanding The Latest Webkit Features In Safari 17.4

Understanding the latest Webkit features in Safari 17.4

The Safari 17.4 update brought in many modern features and bug fixes. Explore the major development-specific updates you should be aware of.

Rahul Chhodde
May 16, 2024 â‹… 10 min read
Using Webrtc To Implement Peer To Peer Video Streaming In A Node Js Project

Using WebRTC to implement P2P video streaming

Explore one of WebRTC’s major use cases in this step-by-step tutorial: live peer-to-peer audio and video streaming between systems.

Oduah Chigozie
May 16, 2024 â‹… 18 min read
Htmx Vs React

htmx vs. React: Choosing the right library for your project

Both htmx and React provide powerful tools for building web apps, but in different ways that are suited to different types of projects.

Temitope Oyedele
May 15, 2024 â‹… 9 min read
View all posts

4 Replies to "Laravel and Docker: A guide to using Laravel Sail"

  1. Not sure what I’m doing wrong, Docker is using WSL 2, Ubuntu image is on Windows, they should be connected, I run the first command but when I try to run cd new-sail-application && ./vendor/bin/sail up it says that the directory doesn’t exist, do I have to navitage to a different directory or it should just run without moving from where I am?

    Also, how do I remove the Laravel apps?

    On my Docker Desktop I see this image laravelsail/php80-composer but on containers I don’t see anything making reference to Laravel.

    Thanks!

  2. Tried running Sail on a fresh install of Fedora with Docker Desktop for Linux. I was able to get everything installed but cannot get the app to run.

    “The stream or file “/var/www/html/storage/logs/laravel.log” could not be opened: failed to open stream: Permission denied”

    Searched high and low for a solution but nothing seems to work.

    Too complicated and fancy for old school. I though I would give Laravel a new look but moving on to something with fewer headaches.

Leave a Reply