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

Writing to /etc/hosts #28

Closed
5 tasks done
vcao opened this issue Dec 29, 2016 · 7 comments
Closed
5 tasks done

Writing to /etc/hosts #28

vcao opened this issue Dec 29, 2016 · 7 comments

Comments

@vcao
Copy link

vcao commented Dec 29, 2016

I'm having an issue with VirtualHosts not writing into /etc/hosts. Any advice on settings I should be looking into?

logs.zip

  • Pull latest dockers (e.g.: docker pull cytopia/<used_docker>) before running docker-compose up
  • Specify used docker versions (php, web and database)
  • Attach logs for php, mysql and webserver (found in log/ directory)
  • Start with debug mode and attach docker-compose output (.env setting DEBUG_COMPOSE_ENTRYPOINT=1)
  • Never use different mysql|mariadb versions on the same HOST_PATH_TO_MYSQL_DATADIR on existing database files. Different mysql|mariadb versions might upgrade/corrupt existing database files. If you have done that already, start with a different path of HOST_PATH_TO_MYSQL_DATADIR (to an empty directory) and try again.

Please also specify the following info:

  • [OSX] Which operating system are you at (Linux, OSX or Windows)
  • [1.12.5] docker version
  • [1.90] docker-compose version
@cytopia
Copy link
Owner

cytopia commented Dec 29, 2016

Hmm, the devilbox does not auto-write this info into your hosts /etc/hosts if this is what you mean. This is something you will have to do manually. (See the first video for how it works).

Please let me know if this was the problem.

@vcao
Copy link
Author

vcao commented Dec 29, 2016

I apologize for the confusion. Coming over from a different workflow that incorporates a hostsupdater. I see now at 4:50 https://youtu.be/reyZMyt2Zzo?t=4m50s.

@vcao vcao closed this as completed Dec 29, 2016
@cytopia
Copy link
Owner

cytopia commented Dec 29, 2016

@vcao, is the project with the host-updater also docker-based? If so, could u point out which project it is?

@vcao
Copy link
Author

vcao commented Dec 30, 2016

@cytopia Not docker-based (Vagrant). Perhaps there might be something that could be modeled: https://github.com/cogitatio/vagrant-hostsupdater

@cytopia
Copy link
Owner

cytopia commented Dec 30, 2016

Thank you @vcao

@vcao
Copy link
Author

vcao commented Dec 30, 2016

@cytopia FYI you have one of the best and easiest to use docker setups I've had to use. Thank you for the great work.

@cytopia
Copy link
Owner

cytopia commented Dec 30, 2016

Good to know. Thanks!

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

2 participants