Giter Club home page Giter Club logo

Comments (4)

huan avatar huan commented on June 12, 2024

I'll be suppressed if the container could launch in this case.

The /etc directory contains all the system configuration files, and it's very coupling with the specific system, such as the Alpine Linux which used by SMF.

Why do you want to mount a volume on /etc?

from docker-simple-mail-forwarder.

SamMousa avatar SamMousa commented on June 12, 2024

Because I want to keep the data even when recreating the container (for example when I add an alias).

Why is it even registered as a volume in the Dockerfile if I'm not supposed to ever mount it? :)

from docker-simple-mail-forwarder.

huan avatar huan commented on June 12, 2024

I understand your requirement of adding an alias.

Could this be done by set SMF_CONFIG? If it could, then you can just restart the container, without any care of the old container /etc data, because SMF_CONFIG will set it for you again.

And sorry for the confusing, I just had a check and found this VOLUME was introduced here:
2c97ba1#diff-3254677a7917c6c01f55212f86c57fbfR55

And I totally forgot why I add this. Maybe should get rid of it later.

from docker-simple-mail-forwarder.

SamMousa avatar SamMousa commented on June 12, 2024

If you remove it then that's fine with me; the requirement of adding an alias is irrelevant for the volume. It might just have been confusion since I saw it in the Dockerfile.

from docker-simple-mail-forwarder.

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.