Questions tagged [laradock]

Laradock is a development environment for PHP applications on Docker

Laradock is a full PHP development environment for Docker.

It supports a variety of common services, all pre-configured to provide a ready PHP development environment, such as database engines, cache engines, and application containers.

Resources:

280 questions
34
votes
6 answers

FIle could not be opened in append mode: failed to open stream: Permission denied laradock

I'm setting up laradock (Setup for Multiple Projects) following the official documentation from the Laradock in my local machine. After installation I installed the laravel through workspace container bash. I did configured the config file for the…
Pawan Rai
  • 581
  • 1
  • 5
  • 18
14
votes
4 answers

Fails to initialize MySQL database on Windows 10

Using Laradock System Info: Docker version: 17.10.0-ce, build f4ffd25 OS: Windows 10 Home When I run docker-compose up -d mysql I'm getting error. Following is the docker logs [Note] Basedir set to /usr/ [Warning] The syntax '--symbolic-links/-s'…
Saumini Navaratnam
  • 8,439
  • 3
  • 42
  • 70
13
votes
5 answers

How to solve "Operation not permitted: '/var/lib/pgadmin'" error in laradock at Windows Subsystem for Linux?

I am using the Laradock in my Laravel project for dockerizing with Nginx, Postgres, and Pgadmin. All the containers are running well but the Pgadmin is unable to do so. Here is my error log, pgadmin_1 | WARNING: Failed to set ACL on…
12
votes
4 answers

E_WARNING: Error while sending STMT_PREPARE packet. PID=*

My Laravel 5.7 website has been experiencing a few problems that I think are related to each other (but happen at different times): PDO::prepare(): MySQL server has gone away E_WARNING: Error while sending STMT_PREPARE packet. PID=10 PDOException:…
Ryan
  • 22,332
  • 31
  • 176
  • 357
9
votes
2 answers

Using laradock docker configuration for developing

Hello there we am currently developing a Laravel application. I want all my team members to work locally so we decided to use Docker for our local development environment. I did a little research and there is a project called laradock. After…
Arnold Asllani
  • 155
  • 1
  • 12
8
votes
1 answer

Laradock: how to enable/install php7 ldap support extension?

I have set up docker with laradock. I'm using the following package "adldap2/adldap2-laravel": "^2.1" I get the following error: Call to undefined function Adldap\ldap_explode_dn() Should I enter my docker workspace and try to install it?…
koalaok
  • 5,075
  • 11
  • 47
  • 91
8
votes
1 answer

File Not Found when running Laravel with Nginx using LaraDock

I am learning Laravel using its tutorial. I installed Laravel and the required stacks using LaraDock. Nginx returns File not found when I go to the IP where the app is running. Below is my NGINX configuration. server { root…
James
  • 1,436
  • 1
  • 13
  • 25
7
votes
2 answers

Where does `docker-compose logs` pull from?

Like most people who downvoted the sparse Docker docs page here and here, I'm confused by what docker-compose logs does. When I run cd /apps/laradock/ && docker-compose logs -f nginx, I see a very long output from many days ago til now. What file…
Ryan
  • 22,332
  • 31
  • 176
  • 357
6
votes
0 answers

Laravel Mix Notification on Docker - NO NOTIFICATION DISPLAY

I'm having a Laravel Project and I run it using Laradock. Also I added vue js components on it and run npm run dev or npm run watch to compile every changes I made but now it didn't display any Laravel Mix Notification whenever I try to…
Imperatura
  • 133
  • 2
  • 12
6
votes
0 answers

`npm` and `node` not working on AWS CodeBuild

Story: I have built a docker image in my local which is laradock/workspace. I can use the npm and node inside the docker image in my local. I uploaded the same image at AWS EC2 Container and use it at AWS CodeBuild. Problem: But when I do the node…
Player1
  • 2,878
  • 2
  • 26
  • 38
6
votes
1 answer

php artisan migrate error: nodename nor servname provided or not know

I'm in trouble with my laradock project: i have downloaded and installed docker and i have successfully completed the setup of my laravel project with laradock. I use php 7, laravel(5.5.14) and the latest version of laradock. I start my project…
6
votes
1 answer

how to diagnose 404 not found error nginx on docker?

I'm trying to make working out laradock (docker+laravel) following: https://github.com/LaraDock/laradock instructions I installed docker + cloned laradock.git laradock folder is located at /myHD/...path../www/laradock at the same level I have my…
koalaok
  • 5,075
  • 11
  • 47
  • 91
6
votes
1 answer

Class 'MongoId' not found in Laradock application

Using Laradock (basically a set og Docker images for Laravel development), I keep getting Class 'MongoId' not found FatalThrowableError errors when calling new \MongoId( $id ) in PHP. This post Class 'MongoId' not found (Zend Framework with MongoDB…
jgangso
  • 638
  • 10
  • 19
5
votes
3 answers

Laradock MySQL container exits(0) - Different lower_case_table_names settings for server ('2') and data dictionary ('0')

After installing Docker and Laradock on my Mac I'm trying to start the docker containers using the command: docker-compose up -d nginx mysql phpmyadmin I get the output: Starting laradock_mysql_1 ... done Starting…
Wouter Doornbos
  • 124
  • 2
  • 13
5
votes
1 answer

Service 'certbot' failed to build: manifest for phusion/baseimage:latest not found: manifest unknown: manifest unknown

Thank you for reading ! When I did docker-compose upon laradock, I finally got an error like title. Does anyone know the correct solution in this case? Originally, I had that laradock, but I accidentally docker-composer down and tried building…
takuma bo
  • 194
  • 2
  • 10
1
2 3
18 19