Problem with Cookiecutter Django 'docker: Error response from daemon'

I'm trying to set up a new project and keep getting this error:

Installing python dependencies using uv...
sha256:bdb43f6ddf37f279e9384342167f6bb16c5a97e7514d890714d9fbf0eb753f15
docker: Error response from daemon: create .: volume name is too short, names should be at least two alphanumeric characters.
See 'docker run --help'.
Error installing production dependencies: Command '['docker', 'run', '--rm', '-v', '.:/app', 'cookiecutter-django-uv-runner:latest', 'uv', 'add', '--no-sync', '-r', 'requirements/production.txt']' returned non-zero exit status 125.
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

I downloaded the latest cookiecutter django, and it suddenly starts this problem. Was working quite well before.

So anyone having the same problem, for now you can switch to a lower version and it works. This is working for me:

cookiecutter gh:cookiecutter/cookiecutter-django --checkout 2025.03.22

Вернуться на верх