Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache expiry functionality in setting docker-compose.yml? #52

Open
yjiangnan opened this issue May 16, 2023 · 0 comments
Open

Cache expiry functionality in setting docker-compose.yml? #52

yjiangnan opened this issue May 16, 2023 · 0 comments

Comments

@yjiangnan
Copy link

How can I achieve the following cache expiry functionality in setting docker-compose.yml? ChatGPT says "The -e argument does not have any associated value, which makes it unnecessary in this context. It appears to be a mistake or a typo.`

Cache expiry
Using the [Command-line arguments](https://github.com/sameersbn/docker-apt-cacher-ng#command-line-arguments) feature, you can specify the -e argument to initiate Apt-Cacher NG's cache expiry maintenance task.

docker run --name apt-cacher-ng --init -it --rm \
  --publish 3142:3142 \
  --volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
  sameersbn/apt-cacher-ng:3.7.4-20220421 -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant