docker-json-server
docker-json-server copied to clipboard
Update README.md
Docker does not allow to "move" file as part of the rename procedure as it shown in exception for what ever reasons json-server needs to do it. It throws exception:
/usr/local/lib/node_modules/json-server/node_modules/lowdb/src/disk.js:14
if (err) throw err
^
Error: EBUSY: resource busy or locked, rename '/data/.~db.json' -> '/data/db.json'
at Error (native)
However when docker mounts directory from a host to container then any files within directory can be "moved".
:+1: Also got this problem