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

Autoremove old images/video within Docker Containers? #104

Closed
ghost opened this Issue Nov 17, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@ghost
Copy link

ghost commented Nov 17, 2017

#58 related, also Generic documentation.

I do not see the autoremoval.sh script within the Docker container file structure indicated with the two references above. Should I just create the script in the /home location within the Docker container using Docker bash?

Theoretical setup:
Headless Ubuntu Server 500 GB running Docker + Portainer.
Container 1 (web): 25 GB with autoremoval.sh would use 90% of container = 22.5GB of container.
Container 2 (web): 25 GB with autoremoval.sh would use 50% of container = 12.5GB of container.
And so on.
Total use of Swarm = ~ 50 GB for web/images/video (sans machinery containers).

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Nov 18, 2017

hey @clessley, there is a autoremoval function running on booting the machinery containers:
https://github.com/kerberos-io/machinery/blob/master/docker/run.sh.

@cedricve cedricve self-assigned this Nov 18, 2017

@cedricve cedricve added the question label Nov 18, 2017

@ghost

This comment has been minimized.

Copy link

ghost commented Dec 1, 2017

Thanks @cedricve I see it. Perfect.

@cedricve cedricve closed this Dec 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment