moby: [v1.12.1] Named volume can't be used after daemon reboot
- Create a named volume
docker volume create --name myvol
- Using this volume works fine:
docker run -it -v myvol:/foo busybox sh
- Restart daemon
- Try to start a container using the volume
docker run -it -v myvol:/foo busybox sh
returnsdocker: Error response from daemon: missing device in volume options.
Reproduced in v1.12.1-rc2
and master
. v1.12.0
seems ok.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (9 by maintainers)
@cpuguy83 Thank you for the quick response. I installed Version 1.12.0-a (build: 11213) from the Stable channel for docker4mac over my existing installation and my docker-compose.yml comes up normally again, with existing named volume data intact.