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,050 points
25 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,280 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,050 points
35 views
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,280 points
28 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,120 points
56 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.