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

Docker for Mac issue in buildEnv-dockercompose.sh #7

Open
dogriverrat opened this issue Nov 5, 2016 · 0 comments
Open

Docker for Mac issue in buildEnv-dockercompose.sh #7

dogriverrat opened this issue Nov 5, 2016 · 0 comments

Comments

@dogriverrat
Copy link

dogriverrat commented Nov 5, 2016

While, yes, the OS requirements do say "Ubuntu" is the OS requirement ... :) ... this can work on OS X under "Docker for Mac". Simple change to buildEnv-dockercompose.sh needed. Change this:

sed -i -e "s/vmhostname/${hostname}/" -e "s/vmipaddress/${ipaddress}/" -e "s/proxyhost/${proxyhost}/" -e "s/proxyport/${proxyport}/" docker-compose.yml

to this:

sed -i "" -e "s/vmhostname/${hostname}/" -e "s/vmipaddress/${ipaddress}/" -e "s/proxyhost/${proxyhost}/" -e "s/proxyport/${proxyport}/" docker-compose.yml

Notice the double quotes after the -i switch. There is a minor difference between the Linux sed and the BSD sed commands. OS X is BSD based so the -i switch requires an argument even if it's empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant