mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-08 15:02:55 -04:00
55 lines
831 B
Markdown
55 lines
831 B
Markdown
$# resources on docker
|
|
|
|
<br>
|
|
|
|
|
|
### resources
|
|
|
|
* [Container Technology Wiki ](https://www.aquasec.com/wiki/display/containers/).
|
|
* [250 Practice Questions for the DCA Exam](https://medium.com/bb-tutorials-and-thoughts/250-practice-questions-for-the-dca-exam-84f3b9e8f5ce).
|
|
|
|
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
### tricks and notes
|
|
|
|
<br>
|
|
|
|
#### shared Folders
|
|
|
|
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:
|
|
|
|
```
|
|
docker system prune
|
|
```
|
|
|
|
|