docker-lamp icon indicating copy to clipboard operation
docker-lamp copied to clipboard

[ERROR] exited with code 1

Open 3NiCoP3 opened this issue 5 years ago • 0 comments

Dear all,

I try to learn how use Docker, but i meet an error when i will to use this Docker-LAMP :

exited with code 1

I search in all internet an resolution, but i don't find an answer.

My docker-compose.yml :

version: "3.7"

services:
  lamp:
    build:
      context: .
      dockerfile: ./Dockerfile
    ports:
      - 80:80
      - 3306:3306
    volumes:
      - /apache/logs:/var/log/httpd
      - /mysql/logs:/var/log/mysql
      - /www:/var/www/html
      - /mysql/data:/var/lib/mysql
      - /apache/conf:/etc/apache2

My Dockerfile :

FROM fauria/lamp

My Config :

W10 64Bit, PHPStorm, Cmder.

Can you help me ?

Many tanks.

3NiCoP3 avatar Sep 14 '19 20:09 3NiCoP3