Skip to content

Instantly share code, notes, and snippets.

View mtedone's full-sized avatar

Marco Tedone mtedone

View GitHub Profile
2021-08-08T13:17:48.869+0100 [DEBUG] Adding temp file log sink: /var/folders/c4/3m82mrf96cd_pbp2j300sy0c0000gn/T/terraform-log216791858
2021-08-08T13:17:48.869+0100 [INFO] Terraform version: 1.0.4
2021-08-08T13:17:48.869+0100 [INFO] Go runtime version: go1.16.4
2021-08-08T13:17:48.869+0100 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan", "--var-file=production.tfvars"}
2021-08-08T13:17:48.869+0100 [TRACE] Stdout is not a terminal
2021-08-08T13:17:48.869+0100 [TRACE] Stderr is a terminal of width 151
2021-08-08T13:17:48.869+0100 [TRACE] Stdin is a terminal
2021-08-08T13:17:48.869+0100 [DEBUG] Attempting to open CLI config file: /Users/marcotedone/.terraformrc
2021-08-08T13:17:48.869+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-08-08T13:17:48.870+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
@mtedone
mtedone / docker-cleanup-resources.md
Created November 17, 2018 20:39 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm