Comments (10)
Are thinking about using a volume for this?
I don't really understand, why would you want to modify cupsd.conf?
from dockerfiles.
from dockerfiles.
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.
Can you tell me more about it?
from dockerfiles.
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.
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.
Is everything OK for you, can I close the issue?
from dockerfiles.
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.
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.
Bump! Though you might be interested by #15.
from dockerfiles.
Related Issues (20)
- I can't find printer in synology dsm7, even i set the privileged mode, wish you can help me out HOT 1
- HP DeskJet 2300 series print only with colors HOT 2
- cupsd /in unraid6.8.2,docker with HP lap1007.have this err "Waiting for printer to become available" HOT 4
- Daily update of image? HOT 3
- Unable to print on Brother DCP-J125 HOT 1
- Lost printers after Docker image update HOT 1
- Bad Request from Kubernetes HOT 3
- Add Brother drivers HOT 4
- I can't install lsb HOT 1
- Printer not detected under 'add printer' HOT 3
- [Cupsd] Suggestion: Drivers for Kyocera printers HOT 1
- [Cupsd] Question: How to persist jobs list between container restarts HOT 3
- need to re-install and config printer after update docker HOT 1
- All below root is "Not Found" HOT 21
- Could you tag your docker image HOT 3
- Printer not detected under 'add printer' HOT 5
- Trying to run the container on Rapsberry pi, but getting this error: HOT 4
- Can't support Canon IC MF4010 HOT 1
- Add samsung unified driver to CUPS HOT 1
- HP m1212nf w/ hp-plugin HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfiles.