Giter VIP home page Giter VIP logo

Comments (10)

olbat avatar olbat commented on June 6, 2024

Are thinking about using a volume for this?

I don't really understand, why would you want to modify cupsd.conf?

from dockerfiles.

obbardc avatar obbardc commented on June 6, 2024

from dockerfiles.

olbat avatar olbat commented on June 6, 2024

Okay so if you just want to make a snapshot of the files from your image once you configured you can use docker commit to create a new image from the FS of the container then run a new container with it.

If you want your users to be able to add new printers at anytime, a volume will do but I still don't understand why you want to modify cupsd.conf ...

from dockerfiles.

olbat avatar olbat commented on June 6, 2024

Can you tell me more about it?

from dockerfiles.

obbardc avatar obbardc commented on June 6, 2024

I want to use cups web interface from another PC than localhost so have to modify cupsd.conf to enable the different ACL.
I also want to update my docker instances by just pulling from your image and want the new image to use my external cupsd.conf.
For this to work seamlessly I think /etc/cups should be mounted using the -v docker option?

from dockerfiles.

olbat avatar olbat commented on June 6, 2024

Yes in this case, volumes would do 👍

You may also need to publish the port of the cupsd service and to make an initial copy of the configuration files contained in the image.

from dockerfiles.

olbat avatar olbat commented on June 6, 2024

Is everything OK for you, can I close the issue?

from dockerfiles.

obbardc avatar obbardc commented on June 6, 2024

Yes all fine, but i was just mentioning it would be nice to extract the configuration files from the image for backups etc :-)

from dockerfiles.

olbat avatar olbat commented on June 6, 2024

For this I think you can just run the container then copy the files somewhere using docker cp, stop the container, modify the files then re-run mounting them using a volume.

For this repository I prefer the keep the config files in the image since they may be changed in the Debian package and it would require someone to keep the track of the changes.

from dockerfiles.

olbat avatar olbat commented on June 6, 2024

Bump! Though you might be interested by #15.

from dockerfiles.

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.