Skip to content

Could not browse anything #5

@hopewise

Description

@hopewise

I have built the image and tried to run container and exec into running container, I did this command into container:

civibuild create d44 --url http://d44.localhost

but I could not browse, I only see This site can’t be reached

I tried to open ports using -P as this way:

docker run -i -t --name=builderkit --rm -P bk

and I did exec into it as

docker exec -it builderkit /bin/bash      

then I did:

root@ec286d41c0f8:~# civibuild create d44 --url http://d44.localhost
.
.
.
[[Save CMS DB (d44cms_ejcad) to file (/opt/buildkit/app/snapshot/d44/cms.sql.gz)]]
[[Save Civi DB (d44civi_u3347) to file (/opt/buildkit/app/snapshot/d44/civi.sql.gz)]]
[[Setup MySQL for Test]]
[[Restore "/opt/buildkit/build/d44" DB (test) from file (/opt/buildkit/app/snapshot/d44/civi.sql.gz)]]
[[Show site summary (d44/default)]]
 - CMS_ROOT: /opt/buildkit/build/d44
 - CMS_URL: http://d44.localhost
 - CMS_DB_DSN: mysql://d44cms_ejcad:cUw2TyvHb6NRlOp5@127.0.0.1:3306/d44cms_ejcad?new_link=true
 - CIVI_DB_DSN: mysql://d44civi_u3347:5niilp30hMF6XuWK@127.0.0.1:3306/d44civi_u3347?new_link=true
 - TEST_DB_DSN: mysql://d44test_qhh78:rYnoCvLnedF1B2j9@127.0.0.1:3306/d44test_qhh78?new_link=true
 - ADMIN_USER: admin
 - ADMIN_PASS: OvgFRSy5vKKY
 - DEMO_USER: demo
 - DEMO_PASS: demo
[[General notes]]
 - You may need to restart httpd.
 - You may need to add the hostname and IP to /etc/hosts or DNS.

in the etc/host:

172.17.0.3      d44.localhost

as I detected docker inspect builderkit | grep IPAddress

and it was

docker inspect builderkit | grep IPAddress
         "SecondaryIPAddresses": null,
         "IPAddress": "172.17.0.3",
                 "IPAddress": "172.17.0.3",

in the browser, when I visit 172.17.0.3 I get Connecting... at the status .. but nothing is shown..

Any advice?

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