Install Docker Compose on Volumio


I managed to install Docker and build and run containers but I would also like to install Docker Compose on my Volumio image. There are no issues when installing libffi-dev, libssl-dev, python3-dev, python3 and python3-pip packages. But installing docker-compose with pip3 throws an error:

sudo pip3 install docker-compose

Downloading/unpacking docker-compose
Downloading docker_compose-1.29.2-py2.py3-none-any.whl (114kB): 114kB downloaded
Downloading/unpacking requests>=2.20.0,<3 (from docker-compose)
Downloading requests-2.26.0-py2.py3-none-any.whl (62kB): 62kB downloaded
Cleaning up…
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/”, line 2595, in _dep_map
return self.__dep_map
File “/usr/lib/python3/dist-packages/”, line 2457, in getattr
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/pip/”, line 122, in main
status =, args)
File “/usr/lib/python3/dist-packages/pip/commands/”, line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File “/usr/lib/python3/dist-packages/pip/”, line 1266, in prepare_files
File “/usr/lib/python3/dist-packages/”, line 2401, in requires
dm = self._dep_map
File “/usr/lib/python3/dist-packages/”, line 2597, in _dep_map
self.__dep_map = self._compute_dependencies()
File “/usr/lib/python3/dist-packages/”, line 2621, in _compute_dependencies
parsed = next(parse_requirements(distvers))
File “/usr/lib/python3/dist-packages/”, line 2721, in parse_requirements
“version spec”)
File “/usr/lib/python3/dist-packages/”, line 2686, in scan_list
raise ValueError(msg, line, “at”, line[p:])
ValueError: (‘Expected version spec in’, ‘charset-normalizer ~=2.0.0’, ‘at’, ’ ~=2.0.0’)

Has anyone managed to install Docker Compose on Volumio somehow? Would it be a better approach to start from Raspbian and run Volumio in a Docker container? I have found a popular image jbonjean/volumio but it is for x86, not ARMv7.

Volumio Information

Volumio Version: 2.907
Hardware: Raspberry Pi 3 Model B Rev 1.2
DAC: HiFiBerry AMP2

I still have a problem with installing Dicker on
PiZero W v1.3
Volumio v 2.907 02/07/2021 (last)
( uname -a: Linux volumio 4.19.118+ #1311 Mon Apr 27 14:16:15 BST 2020 armv6l GNU/Linux)
More description:

Hi, here is my procedure to successfully install docker, docker compose and portainer on Volumio 3

#####Install docker 
curl -fsSL | CHANNEL=stable sh
sudo apt install docker-ce
sudo apt-get install docker-ce docker-ce-cli

##### configure docker user & group 
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

##### Configure Docker to start on boot
sudo systemctl enable docker.service
sudo systemctl enable containerd.service

##### Install portainer
docker volume create portainer_data

docker run -d -p 8000:8000 -p 9443:9443 --name portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \

Within portainer accessible at http://volumioip:9443, you can use “stacks” to manipulate docker-compose 3 scripts the very easy way