Closed MasterCATZ closed 8 years ago
Sounds like a possible issue with Docker. What version of Docker are you running, and what operating system?
Linux aio 4.7.3-040703-generic #201609070334 SMP Wed Sep 7 07:36:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial
Client: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: Wed Oct 26 22:01:48 2016 OS/Arch: linux/amd64
Server: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: Wed Oct 26 22:01:48 2016 OS/Arch: linux/amd64
Can you post your docker-compose file here also? On Fri, Nov 11, 2016 at 2:51 AM MasterCATZ notifications@github.com wrote:
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial
Client: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: Wed Oct 26 22:01:48 2016 OS/Arch: linux/amd64
Server: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: Wed Oct 26 22:01:48 2016 OS/Arch: linux/amd64
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mageinferno/magento2-docker-compose/issues/33#issuecomment-259901026, or mute the thread https://github.com/notifications/unsubscribe-auth/AAarJVorVUoF1xvh7rnfa4SDgr03Cs01ks5q9B6NgaJpZM4KtOf0 .
just the default file
`# Mage Inferno Docker Compose (https://github.com/mageinferno/magento2-docker-compose)
app: image: mageinferno/magento2-nginx:1.11-0 links:
appdata: image: tianon/true volumes:
phpfpm: image: mageinferno/magento2-php:7.0-fpm-0 links:
db: image: percona:5.7 volumes_from:
dbdata: image: tianon/true volumes:
setup: image: mageinferno/magento2-php:7.0-fpm-0 command: /usr/local/bin/mage-setup links:
What happens when you run docker-compose run --rm setup
twice in a row?
I'm unable to replicate this :(
deleted and re git cloned
worked first time
unsure what went wrong last time
tried all sorts of docker-compose variations last time
maybe something related to the other Magento containers I had pulled from docker hub 10 weeks ago that I had removed this morning
K glad you got it working
docker-compose run --rm setup
Running Magento 2 setup script... SQLSTATE[HY000] [2002] No route to host
[InvalidArgumentException]
Parameter validation failed
docker-compose up -d app
Localhost:8000
Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\App\Config\Scope\ReaderPoolInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:73 Stack trace: #0 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...') #1 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(126): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...') #2 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Framewo...', NULL, 'readerPool', 'Magento\Framewo...') #3 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Framewo...', Array, Array) #4 /var/www/html/vendor/magento/framework/Object in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 73
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE f28e55bff353 mageinferno/magento2-nginx:1.11-0 "/usr/local/bin/start" 18 minutes ago Up 18 minutes 443/tcp, 0.0.0.0:8000->80/tcp magento2dockercompose_app_1 4.097 kB (virtual 181.4 MB) e64e30f51802 mageinferno/magento2-php:7.0-fpm-0 "/usr/local/bin/start" 18 minutes ago Up 18 minutes 9000/tcp magento2dockercompose_phpfpm_1 529 B (virtual 593.6 MB) d940031ebaab redis:latest "docker-entrypoint.sh" 45 minutes ago Up 45 minutes 6