$ docker exec -it cvat_db pg_dumpall > cvat.db.dump the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
时间: 2024-03-24 16:41:32 浏览: 158
The error message suggests that the command is being executed in a non-interactive shell, which means that the terminal may not be properly configured to handle input/output.
To fix this issue, you can try prefixing the command with 'winpty', like this:
```
$ winpty docker exec -it cvat_db pg_dumpall > cvat.db.dump
```
This should allow the command to properly handle input/output and create the dump file as expected.
阅读全文