Hi there, i have data-only container (mongodb-data) for my MongoDB container specified by this Dockerfile
FROM busybox:latest
MAINTAINER Tomas Herma
RUN mkdir -p /data/db
VOLUME /data/db
CMD ["true"]
the mongodb container is run by fleet by this command
docker run --rm --name mongodb -p 27017:27017 --volumes-from mongodb-data letsgood/mongodb
the problem is that from time to time is this container deleted and all data are lost and i cant figure it why? when i remove the data container by force
docker rm -f mongodb-data
nothing happend, fleet restart this container i quess and data are here. but after lets say 20 hours the data are lost…
anybody can help me with this? thx in advance
Tomas