Coder Social home page Coder Social logo

Pre-migrated images about postgres HOT 6 CLOSED

docker-library avatar docker-library commented on August 28, 2024
Pre-migrated images

from postgres.

Comments (6)

md5 avatar md5 commented on August 28, 2024

from postgres.

tianon avatar tianon commented on August 28, 2024

from postgres.

nightscape avatar nightscape commented on August 28, 2024

OK, setting PGDATA works nicely.
Does anyone know by any chance why Docker behaves this way?
I can first add things into directory and have stuff copied when I issue the VOLUME directive, but when I do the VOLUME thing too early, all changes are lost. Seems rather unintuitive...

from postgres.

jpetazzo avatar jpetazzo commented on August 28, 2024

As it happens, this might explain what is happening:
http://jpetazzo.github.io/2015/01/19/dockerfile-and-data-in-volumes/

Let me know what you think?

On Thu, Apr 23, 2015 at 5:17 AM, Martin Mauch [email protected]
wrote:

OK, setting PGDATA works nicely.
Does anyone know by any chance why Docker behaves this way?
I can first add things into directory and have stuff copied when I issue
the VOLUME directive, but when I do the VOLUME thing too early, all
changes are lost. Seems rather unintuitive...


Reply to this email directly or view it on GitHub
#57 (comment)
.

@jpetazzo https://twitter.com/jpetazzo
"Is it safe to run applications into containers?"
http://www.slideshare.net/jpetazzo/docker-linux-containers-lxc-and-security

from postgres.

md5 avatar md5 commented on August 28, 2024

from postgres.

nightscape avatar nightscape commented on August 28, 2024

@jpetazzo: nice article!
Explanations and work-arounds for this issue are good enough for me, so I'll close it :)

from postgres.

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.