Docker schema command doesn't work from 5 min tutorial
See original GitHub issue/api-platform$ docker-compose exec web bin/console doctrine:schema:create ERROR: No such service: web
Seems like manual is bit outdated.
Issue Analytics
- State:
- Created 6 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
Try Docker Compose - Docker Documentation
Try Docker Compose. This tutorial is designed to introduce the key concepts of Docker Compose whilst building a simple Python web application.
Read more >A Docker Tutorial for Beginners
Make sure you run this command in the container and not in your laptop/desktop. Doing this will make any other commands like ls...
Read more >Create multi-container apps with MySQL & Docker Compose
In this advanced tutorial, you'll update your application to work as described in this diagram and learn how to: Start MySQL. Run your...
Read more >Docker Tutorial: What is Docker and How to Use it With Python
Docker is an open-source tool that automates the deployment of an application inside a software container. The easiest way to grasp the idea ......
Read more >Creating and filling a Postgres DB with Docker compose
Many times we need to populate and eventually share a database with ... 4 min read ... or run Postgres in the background...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The new setup in master is not released yet, it’s why the doc hasn’t been updated. But glad to here that the new one works on Windows too 😃
Oh in fact in the manual “app” is outdated, changing to the “web” solved the problem. Then it appeared “the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’”, so writing winpty docker-compose exec app bin/console doctrine:schema:create made the job.