I'm noticing some strange behaviour using Magento DevBox.

Running CLI commands from within the Docker container gives strange results (after entering docker-compose exec --user=magento2 <service> /bin/bash to get to a bash session, then cd /var/www/magento2).

It seems to have generated contents for the pub/static directory, which don't sync back into the host filesystem (outside Docker).

So 'adminhtml' and 'frontend' folders are currently visible in Docker via command line, but not anywhere in OSX (my host machine). I'm looking at them side by side.

How can that happen, and where are you meant to run commands from when using DevBox?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.