Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify docker configuration to work on OSX #651

Closed
jordangriffiths01 opened this issue Oct 28, 2017 · 0 comments
Closed

Modify docker configuration to work on OSX #651

jordangriffiths01 opened this issue Oct 28, 2017 · 0 comments
Assignees

Comments

@jordangriffiths01
Copy link
Contributor

@jordangriffiths01 jordangriffiths01 commented Oct 28, 2017

Docker for Mac does not properly support the network_mode: host option for containers. In order to run the system on OSX, it will be necessary to network the containers using a bridged network:

By default Compose sets up a single network for your app. Each container for a service joins the default network and is both reachable by other containers on that network, and discoverable by them at a hostname identical to the container name."

Rather than accessing other containers via a port on localhost, containers will access each other using the instance name as the hostname. Port 80 will then be exposed from the nginx container to the host.

@jordangriffiths01 jordangriffiths01 self-assigned this Oct 28, 2017
jordangriffiths01 pushed a commit that referenced this issue Oct 28, 2017
Modify docker containters to use the default bridged network, because
Docker for Mac does not support `network_mode: host`

Modify csu script to remove the use of `xargs -r` which is only
available on GNU (not available on OSX)
jordangriffiths01 added a commit that referenced this issue Oct 29, 2017
Modify docker containters to use the default bridged network, because
Docker for Mac does not support `network_mode: host`

Modify csu script to remove the use of `xargs -r` which is only
available on GNU (not available on OSX)
jordangriffiths01 added a commit that referenced this issue Nov 10, 2017
jordangriffiths01 added a commit that referenced this issue Nov 10, 2017
Modify csu script and docker setup for OSX compatability (fixes #651)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant