cancel
Showing results for 
Search instead for 
Did you mean: 

Developing in DevBox - docker, port-change on starting and stopping container.

Developing in DevBox - docker, port-change on starting and stopping container.

Does anyone have experience with developing magento in the DevBox?

I have downloaded Magento in combination with DevBox to build my webshop locally. After installation with the terminal i got the url to the shop and the admin (someting like: http://127.0.0.1:32769/ and http://127.0.0.1:32769/admin/).

 

This all works great! But than you stop to continue some other time and stop the working-container with the commandline. When i wanted to continue the other day, i started the working container and it now runs on another port. However, on this port only the HTML is loaded. The system tries to download the rest of the files on the old port (:32769), wich is obviously not working. Stuck here!

 

Please help me with this, it's been taking too much of my time.

1 REPLY 1

Re: Developing in DevBox - docker, port-change on starting and stopping container.

The devbox documentation covers this issue here:

http://devdocs.magento.com/guides/v2.1/install-gde/docker/docker-ref.html#devbox-static-port

Hope this helps.