mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 04:29:38 +01:00
Solved variable bug and updated README.md of docker
This commit is contained in:
parent
0f44e65bf1
commit
c0916ce25b
@ -1611,7 +1611,7 @@
|
||||
"replyTo": "",
|
||||
"host": "{{system_email.host}}",
|
||||
"from": "{{system_email.from}}",
|
||||
"fromDisplayName": "Keycloak Authentification System - {{domain.keycloak}}",
|
||||
"fromDisplayName": "Keycloak Authentification System - {{domains.keycloak}}",
|
||||
"envelopeFrom": "",
|
||||
"ssl": "true",
|
||||
"user": "{{system_email.username}}"
|
||||
@ -1965,7 +1965,7 @@
|
||||
"false"
|
||||
],
|
||||
"connectionUrl": [
|
||||
"{{ldap.dn.server.uri}}"
|
||||
"{{ldap.server.uri}}"
|
||||
],
|
||||
"syncRegistrations": [
|
||||
"true"
|
||||
|
@ -1,19 +1,23 @@
|
||||
# role docker
|
||||
# Docker Role 🚀
|
||||
|
||||
## maintenance
|
||||
This role is part of the [CyMaIS Project](https://github.com/kevinveenbirkenbach/cymais), maintained and developed by [Kevin Veen-Birkenbach](https://www.veen.world/).
|
||||
|
||||
### list unused volumes
|
||||
```bash
|
||||
docker volume ls -q -f "dangling=true"
|
||||
---
|
||||
|
||||
## 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")
|
||||
### Remove All Unused Volumes
|
||||
```bash
|
||||
docker volume rm $(docker volume ls -q -f "dangling=true")
|
||||
```
|
||||
|
||||
### network issues
|
||||
```bash
|
||||
### Network Issues Fixes
|
||||
```bash
|
||||
docker stop $(docker ps -a -q)
|
||||
docker rm $(docker ps -a -q)
|
||||
docker network prune -f
|
||||
@ -21,9 +25,28 @@ sudo iptables -t nat -F DOCKER
|
||||
sudo iptables -t nat -F DOCKER-USER
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## performance
|
||||
- https://forums.docker.com/t/mysql-slow-performance-in-docker/37179/21
|
||||
## Warning ⚠️
|
||||
|
||||
## see
|
||||
- https://stackoverflow.com/questions/37599128/docker-how-do-you-disable-auto-restart-on-a-container
|
||||
**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! 🎉
|
Loading…
x
Reference in New Issue
Block a user