Repository navigation
Open
Description
git clone git@github.com:decidim/docker.git decidim-docker
results in
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Instead I used
git clone https://github.com/decidim/docker.git
it works, but
docker-compose up
throws error:
docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'
Trace:
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 33, in <module>
sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
command_func()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command
project = project_from_options('.', options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options
return get_project(
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project
client = get_client(
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client
client = docker_client(
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client
client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
self._version = self._retrieve_server_version()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
raise DockerException(
docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'
Thanks for help.
Metadata
Metadata
Assignees
Labels
No labels
Activity
alecslupu commentedon Oct 3, 2024
This seems to be an issue with your docker environment.
kopetsch commentedon Oct 3, 2024
Sorry, but your answer does not really help.
alecslupu commentedon Oct 3, 2024
I cannot help, as i do not know your setup , versions etc ... This Ubuntu bug report may be related to your issue:
https://bugs.launchpad.net/ubuntu/+source/python-docker/+bug/2065348
My initial thought is that you were using an ancient version of docker & docker compose.
kopetsch commentedon Oct 3, 2024
docker-ce is already the newest version (5:27.3.1-1
ubuntu.24.04noble)docker-compose is already the newest version (1.29.2-6ubuntu1)
alecslupu commentedon Oct 3, 2024
As i was saying, this is an Ubuntu issue, not related to Decidim.
kopetsch commentedon Oct 3, 2024
Please, can you give me a hint, what to do?
alecslupu commentedon Oct 3, 2024
have you checked the issue i gave?
https://bugs.launchpad.net/ubuntu/+source/python-docker/+bug/2065348/comments/18
Closing as the issue is not related to Decidim / or decidim Docker image.
kopetsch commentedon Oct 3, 2024
Thank you.
I will try out another E-Participation Software.
alecslupu commentedon Oct 3, 2024
@kopetsch you can always try Decidim in nightly.decidim.org and also on try.decidim.org
I have closed the issue as the issue you're reporting is not related to Decidim, and most likely no other participatory platform that offers a
docker composerecepy would actually work on your computer.About "what to do" ? Perform the test on an older version of Linux / docker, Install the python3-docker from the ticket ... and so on .. I do not have access to your computer, so i cannot advise fully on the matter.
kopetsch commentedon Oct 3, 2024
Pointless!
a software, which can not deployed within the latest environment, is not suitable for us.
I close this conversation now.
Bye
davidbeig commentedon Oct 4, 2024
Can you try with just
docker compose up?Here it seems that they are facing the same problem and it results in just a problem with the old
docker-composeand the newdocker composecommand.alecslupu commentedon Oct 5, 2024
@kopetsch can you make sure that you run before starting the container a
chmod +x ./scripts/hello-world.sh?I cannot fully reproduce the error you're encounter, but i see that when i do not have enough rights on the file i get
Permission denied.Yes, the error you may be Decidim related.
Also, please note this Docker image, is actually running Decidim 0.24 (with a release date of Mar 26, 2021).
Will update the scripts and come back with some new info.
alecslupu commentedon Oct 5, 2024
I cannot reproduce your error
having the following packs installed. Maybe is some kind of setting that i've done some time ago. My installed packages are:
Could you paste somewhere (gist.github.com) the entire output of your
docker compose upcommand?githubber commentedon Dec 15, 2025
@kopetsch You weren't wrong. I've the same problem. I had to use
gh repo clone decidim/dockerto get the code. Then, it wouldn't run withdocker compose upbecause Docker wouldn't let us with the loose settings- POSTGRES_HOST_AUTH_METHOD=trust. Even after I changed that, it wouldn't start because of pgsql conflict of some kind (see below), indicating that NO OTHER pysql images can be present!It's disappointing when a useful piece of software can't be run. I'm not so surprised, I've always had issues with Ruby and gems.
`
See https://github.com/docker-library/postgres/issues/37 for a (long)
Error: in 18+, these Docker images are configured to store database data in a
`