Docker compose adds volume to service, how to make it effective?

problem description

A record has been added under the volumes of a service under the compose file. How to make the new volume take effect

the environmental background of the problems and what methods you have tried

try docker-compose build theservice and it doesn"t work either

Jun.06,2022
Menu