Giter VIP home page Giter VIP logo

Comments (2)

pfwd avatar pfwd commented on June 20, 2024

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.

amutylo avatar amutylo commented on June 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.