Skip to content

clarity on how to edit host file #26

@dansgithubuser

Description

@dansgithubuser

Readme says: "If you use default base url (http://local.magento) or other test url, you need to modify your host file to map the host name to docker container."

Could you give an example of this? Like if docker ps says

CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS                            NAMES
ce9f87205e1e        phpmyadmin/phpmyadmin   "/run.sh supervisord…"   3 minutes ago       Up 3 minutes        9000/tcp, 0.0.0.0:8580->80/tcp   docker-magento_phpmyadmin_1
4a9bd10b280a        alexcheng/magento       "/sbin/my_init"          3 minutes ago       Up 3 minutes        0.0.0.0:80->80/tcp               docker-magento_web_1
f5caee2ac173        mysql:5.6.23            "/entrypoint.sh mysq…"   3 minutes ago       Up 3 minutes        3306/tcp                         docker-magento_db_1

and I've used the default settings, then how should the line in my host file look?

I'm assuming this will solve the symptom "website can't be reached after running install-magento".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions