mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-08 06:53:00 -04:00
Update README.md
This commit is contained in:
parent
f8b15911be
commit
9b0e09c90a
1 changed files with 9 additions and 31 deletions
|
@ -2,38 +2,16 @@
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
#### shared folders
|
* 👉🏼 [docker hints and tricks]()
|
||||||
|
|
||||||
Removing some of the default shared folders can decrease CPU usage (e.g. remove `/Volumes` and `/private`).
|
|
||||||
|
|
||||||
Check storage with:
|
|
||||||
|
|
||||||
```
|
|
||||||
docker info |grep Storage
|
|
||||||
```
|
|
||||||
|
|
||||||
#### performance
|
|
||||||
|
|
||||||
In case of performance problems you can run:
|
|
||||||
|
|
||||||
```
|
|
||||||
docker run --rm=true -it --privileged --pid=host \
|
|
||||||
<image name> /usr/bin/top
|
|
||||||
```
|
|
||||||
|
|
||||||
#### cleaning up
|
|
||||||
|
|
||||||
See disk space:
|
|
||||||
|
|
||||||
```
|
|
||||||
docker system df
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Remove stopped containers, dangling images, the build cache, and unused networks:
|
<br>
|
||||||
|
|
||||||
```
|
|
||||||
docker system prune
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
### resources
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
* [eth docker](https://github.com/eth-educators/eth-docker)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue