Solved ldap_user nextcloud var import bug (hopefully) and optimized README.md's and metas

This commit is contained in:
2025-03-21 18:01:11 +01:00
parent e4a0473f9e
commit c51f935eff
20 changed files with 352 additions and 257 deletions

View File

@@ -0,0 +1,43 @@
# Administration 🛠️
## List Unused Volumes
```bash
docker volume ls -q -f "dangling=true"
```
## Remove All Unused Volumes
```bash
docker volume rm $(docker volume ls -q -f "dangling=true")
```
## Network Issues Fixes
```bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker network prune -f
systemctl stop docker
rm -fv /var/lib/docker/network/files/local-kv.db
systemctl start docker
```
---
# Warning ⚠️
**Caution:** The following instructions will delete **all Docker containers and volumes** on your server.
Make sure you have backups or that you're certain you want to clean your Docker environment completely.
---
## Cleaning Up Docker Containers and Volumes 🧹
### Delete All Docker Containers
```bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
```
### Delete All Docker Volumes
```bash
docker volume rm $(docker volume ls -q)
```

View File

@@ -2,52 +2,4 @@
This role is part of the [CyMaIS Project](https://github.com/kevinveenbirkenbach/cymais), maintained and developed by [Kevin Veen-Birkenbach](https://www.veen.world/).
---
## Maintenance 🛠️
### List Unused Volumes
```bash
docker volume ls -q -f "dangling=true"
```
### Remove All Unused Volumes
```bash
docker volume rm $(docker volume ls -q -f "dangling=true")
```
### Network Issues Fixes
```bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker network prune -f
systemctl stop docker
rm -fv /var/lib/docker/network/files/local-kv.db
systemctl start docker
```
---
## Warning ⚠️
**Caution:** The following instructions will delete **all Docker containers and volumes** on your server.
Make sure you have backups or that you're certain you want to clean your Docker environment completely.
---
## Cleaning Up Docker Containers and Volumes 🧹
### Delete All Docker Containers
```bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
```
### Delete All Docker Volumes
```bash
docker volume rm $(docker volume ls -q)
```
---
Enjoy using this role and happy containerizing! 🎉

View File

@@ -1,3 +1,31 @@
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: >
Installs and maintains Docker.
license: "CyMaIS NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
min_ansible_version: "2.9"
platforms:
- name: Linux
versions:
- all
galaxy_tags:
- docker
- container
- infrastructure
- automation
- cleanup
- linux
- system
repository: "https://s.veen.world/cymais"
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais/docker"
dependencies:
- backup-docker-to-local
- user-administrator