Can't access localhost/app_dev.php (similar to #169) (docker install, Ubuntu 16.04)
See original GitHub issueHi,
Currently banging my head against a wall of incomprehension at this stage of the tutorial:
What I did:
- corrected my mistake of not having used
docker-compose
as a user instead of root by adding my user to the docker group, rebooted, deleted the already built docker images, deleted the skeleton-project including the root-owned folders; - ran
docker-compose up -d
again, as a user this time, in a freshly copy pasted skeleton-project and followed the tutorial up to the same point; - same error.
var/cache/dev
is still root-owned.
No idea what I did wrong. Any clue as to what it might be? Thanks in advance for any input you may have, and thank you for this great looking project 😃
ps: May be worth noting that I’m a docker noob.
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
How To Install and Use Docker on Ubuntu 16.04 - DigitalOcean
Step 1 — Installing Docker. The Docker installation package available in the official Ubuntu 16.04 repository may not be the latest version. To ......
Read more >php - Docker (Ubuntu 16.04) Apache/PHP7/Mysql5_7
Im trying to setup docker-container: Apache/PHP7/Mysql 5.7 via docker-compose up on Ubuntu 16.04. The Problem is that i get no database- ...
Read more >How to Set Up PHP Development Environment on Localhost ...
Docker is not just a deployment tool. This video shows you how to set up a local development environment using Docker. Learn how...
Read more >Apache, PHP & MySQL on Docker on Ubuntu - YouTube
Set up a local LAMP development environment ( PHP, MySQL and Apache) under Docker using Ubuntu. Docker is useful, when you would like...
Read more >Setup a Docker development environment with PHP Apache ...
https://github.com/truthseekers/ php - docker -simpleIn this video we'll setup a simple PHP, Apache, and MySQL environment.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I believe this is solved by #162 😃 Great job on the docker updates.
Hello,
I had the same issue. It comes from
composer install
executed as root in docker/start.shTo solve that, I added after composer call in start.sh
Are you interested on a PR ?