Questions tagged [laradock]

For issues relating to the laradock Docker PHP development environment.

Lardock is a development environment that facilitates running PHP Apps on Docker. It includes pre-packaged Docker Images, all pre-configured to provide a wonderful PHP development environment.

Resources:

242 questions
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
  • 6,965
  • 2
  • 33
  • 58
12
votes
4 answers

E_WARNING: Error while sending STMT_PREPARE packet. PID=*

As of 2019-01-30 14:52 UTC, you can still win the 500-point Bounty because none of the answers have helped! My Laravel 5.7 website has been experiencing a few problems that I think are related to each other (but happen at different…
Ryan
  • 17,332
  • 24
  • 141
  • 270
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
  • 11
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
  • 3,414
  • 7
  • 30
  • 67
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,366
  • 1
  • 11
  • 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
  • 17,332
  • 24
  • 141
  • 270
6
votes
3 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…
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
  • 3,414
  • 7
  • 30
  • 67
5
votes
2 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…
5
votes
1 answer

Php-worker keeps growing in memory when running supervisor queue's

When running supervisor queue's the memory of the php-worker container keeps rising. (As seen in docker stats) This number does not go down when the jobs are done. When the queue keeps processing jobs for a while the memory reaches 100% and…
5
votes
0 answers

Using browsersync with docker (laradock)

I'm running into a problem with running browsersync via Gulp inside a docker container. I'm using Laradock. I tried to extrapolate from this answer: Browsersync within a Docker container, but I'm only able to get the UI to show on port 3001. It's…
good_afternoon
  • 1,015
  • 7
  • 23
5
votes
2 answers

Yarn not in path on Laradock worskpace when using it in inline docker exec command

I have a problem using Laradock and yarn with an inline docker exec command from "outside" the workspace container. When I use it from inside the workspace container, everything is working as expected : docker exec -it --user=laradock…
Okipa
  • 482
  • 4
  • 16
5
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
  • 1,561
  • 18
  • 31
5
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
  • 478
  • 6
  • 18
1
2 3
16 17