docker volume 共享本地目录
docker volume create myvol docker volume inspect myvol [ { "CreatedAt": "2020-04-19T01:36:22+08:00", "Driver": "local", "Labels": {}, "Mountpoint": "/var/lib/docker/volumes/myvol/_data", "Name": "mssql2019", "Options": {}, "Scope": "local" } ]
解决方式是通过 ln 创建软链接
ln -s /var/lib/docker/volumes/myvol/_data/* /data/
cd /data
ls