How to attach and dettach volume to a running container in docker [closed]

I can’t attach and detach volume to a running container in docker?

Source: StackOverflow