docker-library / memcached

Docker Official Image packaging for memcached
http://memcached.org/
BSD 3-Clause "New" or "Revised" License
131 stars 99 forks source link

1.5.19 warm cache start up does not work #53

Closed igor875126 closed 5 years ago

igor875126 commented 5 years ago

Hey,

Issue description

if you pull your docker image 1.5.19-alpine and try to use warm cache start up option, you will notice it ends up in error: ftruncate failed: Bad file descriptor Aborted

How to reproduce

docker run -it --rm memcached:1.5.19-alpine sh
memcached -e /test
yosifkit commented 5 years ago

That would be expected and is the same in the debian image as well. The memcache user doesn't have write access to /. Try giving -e a place that it has write access, e.x. /tmp/test