Giter Site home page Giter Site logo

Comments (3)

3fr61n avatar 3fr61n commented on May 30, 2024

Hi

This is a inherit behaviour from docker philosophy, in you want to make your changes persistent after stoping the container, you need first to 'commit' your container state (please check last section of this link https://docs.docker.com/engine/quickstart/), then make sure to rename/tag your new images with the proper tag (you can override the original image tags), and then start your container from the latest image you just commited

Regards
Efrain

from open-nti.

mdbarrett99 avatar mdbarrett99 commented on May 30, 2024

Hi,

Yep appreciate this and probably haven't asked the question properly. I was talking with Damian offline and he informs me grafana configuration files are inside the container (as to my example), but the database is outside the container. I said that would be a very useful addition to move them outside the container (so we can add users to be persistent etc) - whilst typing I noticed issue 8 was just raised.

In addition I guess where this problem really originated from was the influxd database doesn't appear to be persistent. Looking at the docker.start.sh file in theory /var/lib/influxdb inside the container is mapped to $(pwd)/db outside the container as a volume. If I ssh to the container, I do see the mapping, but once again nothing is being written to that directory so I'm not sure what is going on there.

Cheers.

M

from open-nti.

3fr61n avatar 3fr61n commented on May 30, 2024

It seems there is another thread about the same issue, #8 , so I'm closing this one

from open-nti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.