kojiromike / docker-magento

A Magento Development Environment Made of Docker Containers
MIT License
94 stars 40 forks source link

Example docker command line to install magento fails when run from repo clone #2

Closed ChrisKemmerer closed 10 years ago

ChrisKemmerer commented 10 years ago

If you follow the instructions in the main README you will clone into a directory called docker-magento. If you run the fig up command without setting the FIG_PROJECT_NAME environment variable, fig will create containers with the string dockermagento prepended to the name (ex.: dockermagento_db_1). The sample command line to install magento given in the README file will use the current directory docker-magento as the prefix to the container names and the command will fail.

The problem is that fig strips anything that isn't a letter or digit from the prefix so we just have to be careful what directory we run fig from or what we set FIG_PROJECT_NAME to.