Docker for Windows error: Same docker image works in Docker for Windows but not in docker on linux

0 votes
I can connect to the database of the same image within Docker for Windows but not on a linux host. Why is this happening?
Sep 26, 2018 in Docker by Sophie may
• 9,850 points
39 views

1 answer to this question.

0 votes
I got the same error, the problem was that SELinux was active. Just run the container with the --privileged flag and you’ll be able to connect to the database.
answered Sep 26, 2018 by Tyrion anex
• 8,270 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

Error: Docker for Windows not working

The following worked for me: Download VirtualBox 5.03  Reboot ...READ MORE

answered Aug 13, 2018 in Docker by Sophie may
• 9,850 points
83 views
0 votes
2 answers
0 votes
1 answer

How to run an image with volume on docker for windows?

Try : declaring the volume of container mounting the ...READ MORE

answered Sep 19, 2018 in Docker by Tyrion anex
• 8,270 points
47 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,900 points
189 views
0 votes
1 answer