Support the ongoing development of Laravel.io →
Installation

I'm running this as per the Centos Laravel 8 docker instructions provided here: https://laravel.com/docs/8.x

And I receive some funky stuff:

_**login as: root root@...'s password: Last login: Wed Dec 23 14:07:43 2020 [root@localhost ~]# pwd /root [root@localhost ~]# su - laravel.user Last login: Mon Dec 28 14:11:17 EST 2020 on tty1 [laravel.user@localhost ~]$ curl -s https://laravel.build/example-app | bash Unable to find image 'laravelsail/php80-composer:latest' locally Trying to pull repository docker.io/laravelsail/php80-composer ... latest: Pulling from docker.io/laravelsail/php80-composer 852e50cd189d: Pull complete 0266fc315b01: Pull complete 4c8a5fa787a1: Pull complete 46fc127c1884: Pull complete d9c4e3a55454: Pull complete e145ce591f4d: Pull complete 8f8449135011: Pull complete 4a95979fde5b: Pull complete bf7b24d2a998: Pull complete 3ea8de81da82: Pull complete 590a4814668f: Pull complete 85c633f36d40: Pull complete d810a644e92b: Pull complete 3043238335fb: Pull complete Digest: sha256:b387b05f2d55d32d9ab1b861b4bc8347f75b36ca2b259231a3359118682dabad Status: Downloaded newer image for docker.io/laravelsail/php80-composer:latest

_ _ | | | | | | __ _ _ __ __ ___ | | | | / | '__/ _ \ \ / / _ \ | | || (| | | | (| |\ V / / | |_,|| _,| _/ ___|_|

Warning: TTY mode requires /dev/tty to be read/writable. Creating a "laravel/laravel" project at "./example-app" Installing laravel/laravel (v8.5.6)

[ErrorException] mkdir(): Permission denied

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package>] [<directory>] [<version>]

bash: line 16: cd: example-app: No such file or directory

Please provide your password so we can make some final adjustments to your application's permissions.

[sudo] password for laravel.user:

Thank you! We hope you build something incredible. Dive in with: cd example-app && ./vendor/bin/sail up sed: can't read .env: No such file or directory sed: can't read .env.example: No such file or directory sed: can't read .env: No such file or directory sed: can't read .env.example: No such file or directory sed: can't read .env: No such file or directory sed: can't read .env.example: No such file or directory [laravel.user@localhost ~]$_ ** I have a tty now writeable error, a mkdir error, and what looks like poor scripting off the 'https://laravel.build/example-app' example installation bash script. If you go to https://laravel.build/example-app you'll notice the last half dozen lines or so have sed syntax errors: sed -i.bak 's/DB_HOST=127.0.0.1/DB_HOST=mysql/g' .env sed -i.bak 's/DB_HOST=127.0.0.1/DB_HOST=mysql/g' .env.example sed -i.bak 's/MEMCACHED_HOST=127.0.0.1/MEMCACHED_HOST=memcached/g' .env sed -i.bak 's/MEMCACHED_HOST=127.0.0.1/MEMCACHED_HOST=memcached/g' .env.example sed -i.bak 's/REDIS_HOST=127.0.0.1/REDIS_HOST=redis/g' .env sed -i.bak 's/REDIS_HOST=127.0.0.1/REDIS_HOST=redis/g' .env.example

What is 'sed -i.bak'? What am I missing here? What this just a copy and paste error on https://laravel.build/example-app ?

Thanks in advance, Dave Unix

Last updated 3 years ago.
0

Sorry about the formatting...I'm not sure where all the carriage returns went. ( I swear, they WERE there)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Dave Fan rushfan27909 Joined 28 Dec 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.