detect docker volumes not mounted

15/05/2020

start portainer and look in the volumes tab.
click on it to see from which image it is from.
(also works : docker volume ls)

add the volume mount in the docker compose

volumes:
    - ./redis:/data
        

then restart it and remove dangling volumes

docker-compose stop redis
docker-compose rm -f redis
docker-compose up -d --force-recreate redis
docker volume prune -f

Raccourcis