olbat / dockerfiles

A collection of Dockerfiles
https://hub.docker.com/u/olbat/
GNU General Public License v3.0
134 stars 73 forks source link

Lost printers after Docker image update #70

Closed alancyau closed 2 years ago

alancyau commented 2 years ago

It appears after performing a docker-compose pull to update the Docker image, the image loses saved printers. Is this normal? Is there a way to prevent printers from disappearing after a Docker image update?

olbat commented 2 years ago

Hey @alancyau , I'm going to close this issue, it is not a bug.

The problem you are facing are inherent to how container works/are implemented. I suggest you to have a look at the Docker documentation do get a better understanding of this.

Basically what you'd have to do if you want to persist your configuration files is to setup up a volume for the directory where the cupsd settings files are saved. You can look it up online or reach out to one of the support channels mentioned in the README file if you have no idea about where they are saved.