Comments (2)
Hi @ahmadkakarr, Unfortunately I am unable to reproduce this error. I have deleted my docker-machine and rebuilt it with no issues.
Please make sure your virtual machine is up to date. I am using Virtual box 6.0.10
These are the steps that I took to rebuild the Docker machine and test the containers
$ docker-machine rm howtocodewell-oop-php
$ docker-machine create howtocodewell-oop-php
$ eval $(docker-machine env howtocodewell-oop-php)
$ docker-compose up -d --build
$ docker-compose exec web bash
root@74fccb9772fc:/var/www/html# ls
Dockerfile LICENSE README.md apache app codeception.yml composer.json composer.lock docker-compose.yml mysql public src tests vendor
root@74fccb9772fc:/var/www/html#
root@74fccb9772fc:/var/www/html# vendor/bin/codecept run unit
// ...
Time: 416 ms, Memory: 12.00 MB
OK (78 tests, 167 assertions)
I recommend restarting your host machine If you have made any changes to your host OS or to virtual box (If you are using that).
from freecodecamp-php-oop.
try to replace the line in docker-compose.yml
- ./apache/conf/000-default.conf:/etc/apache2/sites-enabled/000-default.conf
with this one
- ./apache/conf:/etc/apache2/sites-available
and reload Docker
This helped me on ubuntu as the first line didn't work on ubuntu.
from freecodecamp-php-oop.
Related Issues (20)
- Upgrade Codeception to v4
- Create customer findAllBy
- Create status findOneBy
- Create customer findOneBy
- Fix PHPStan errors and warnings
- Create invoice findOne
- Invoice FindAll
- Code Clean Up Managers
- Create FindAll for invoice item
- Create FindOne for invoice item
- Update queryBuilder with findAllBy
- Find all invoices items by invoice ID
- Refactor Where clause
- Move PHP classes out of Type directories
- Add ext-pdo to composer.json
- Remove list.php from views
- Remove .gitkeep from src
- Update composer packages
- PHPStan error
- To demonstrate the power of Symfony: rebuild using Symfony
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 freecodecamp-php-oop.