laravel with docker ubuntu

0 votes

Hi all I'm new to docker I need help I tried to use laravel with docker ubuntu after building an image with docker-compose build I receive built successfully message but when I try to run docker-compose up I receive these errors messages

any help

Connection refused (SQL: select * from informationschema.tables where tableschema = laravel and tablename = migrations)”
The .env file
{DBCONNECTION=mysql
DBHOST=mysql
DBPORT=100}
Nov 26, 2019 in Docker by Hannah
• 18,520 points

edited Jun 9, 2020 by MD 1,216 views

1 answer to this question.

0 votes
You are using a port below 100 which requires sudo privileges, either run with sudo or with root.
answered Nov 26, 2019 by Priyank

Related Questions In Docker

0 votes
1 answer

build an J2EE application with docker

I would suggest you to use volume ...READ MORE

answered May 1, 2018 in Docker by shubham
• 7,340 points
1,735 views
0 votes
1 answer

Docker ports are working on the localhost but not with public ip

Probably, the reason is that you've included ...READ MORE

answered Jun 12, 2018 in Docker by Damon Salvatore
• 5,980 points

edited Oct 15, 2018 by Kalgi 5,122 views
0 votes
1 answer

Isolate PHP applications with Docker

Here is what you can try. You ...READ MORE

answered Jul 6, 2018 in Docker by Atul
• 10,240 points
1,363 views
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,684 views
0 votes
1 answer

Docker error "ERROR: for nginx Cannot start service nginx: oci runtime error"

I had faced a similar issue and ...READ MORE

answered Sep 24, 2019 in Docker by anonymous
• 52,340 points
7,340 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP