If you want a lightweight Linux image to run your docker containers, Alpine is a good choice.
Here is how to install docker
and docker-compose
on Alpine Linux
sudo apk add shadow sudo
sudo apk update
sudo apk add docker-compose
sudo rc-update add docker default
sudo /etc/init.d/docker start
sudo groupadd docker
sudo usermod -aG docker $USER