question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
dunglascommented, Apr 5, 2017

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 😃

0reactions
garbuscommented, Aug 3, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found