Comments (6)
@georgebaev I get this on my Windows machine but it works fine on linux.
Could you try docker-compose up --force-recreate --build nginx php mysql
and add an entry to your hosts file e.g.
Linux: 127.0.0.1 laradock.dev
Windows probably DOCKER_IP laradock.dev
Where DOCKER_IP is the result of
$ docker-machine ip
from laradock.
first you need to visit the docker ip in the browser and not the localhost unless you are on linux OS.
however make sure you have a docker folder inside your laravel project.
and you have the right permissions set for some laravel folders.
also check the laravel.conf https://github.com/LaraDock/laradock/blob/master/nginx/laravel.conf file and make sure the paths are correct.
you can try to enter the nginx container for better understanding what's going on and debug it
from laradock.
Hi @Mahmoudz I get the same error. I'm using Ubuntu 16.04.
from laradock.
@annielmenezes what is the result of $ docker-machine env
?
from laradock.
@mattythebatty thank you very much! This fixed the problem.
from laradock.
The solution summary is: use 127.0.0.1
instead of localhost
in your browser.
from laradock.
Related Issues (20)
- mssql
- Remove php7.0 build flow
- MySQL: Host X is not allowed to connect to this MySQL server HOT 2
- 3 weeks later: mssql still not working HOT 3
- Composer install... failed to extract - too many open files HOT 1
- php-fpm failed to fetch debian archive 403 error HOT 3
- using the "docker-compose up -d apache2" command to encountered "docker.io/laradock/workspace:latest-: not found" error
- How can I use my remote database instead of mysql container?
- PHP 8.3 Support HOT 3
- curl: error while loading shared libraries: /lib/x86_64-linux-gnu/librtmp.so.1: file too short HOT 1
- Github Copilot CLI in the workspace.
- php-fpm:latest-8.3 /etc/apt/sources.list: No such file or directory HOT 5
- if [ ${CHANGE_SOURCE} = true ] sed: can't read /etc/apt/sources.list: No such file or directory HOT 3
- failed to solve: varnish:6.3: no match for platform in manifest: not found
- How to limit mysql's memory? HOT 2
- not install laradock
- failed to solve: changes out of order: "ca-certificates/.gitkeep" "auth.json" HOT 1
- Nginx - Protecting PHP files in /storage/ from being executed? HOT 1
- docker-compose build ERROR: no-debug-non-zts-20160303/redis.so: undefined symbol: zend_string_init_interned HOT 1
- How to grow up php-worker container PHP Memory Limit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laradock.