mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-08 15:02:55 -04:00
Clean up this repo
This commit is contained in:
parent
0d4632e7dd
commit
024892437e
309 changed files with 7 additions and 15 deletions
52
docker/README.md
Normal file
52
docker/README.md
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Docker Best Practices
|
||||
|
||||
## Installation in macOS
|
||||
|
||||
```
|
||||
brew cask install docker
|
||||
```
|
||||
|
||||
### 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
|
||||
```
|
||||
|
||||
### Tutorials and Articles
|
||||
|
||||
### Containers in General
|
||||
|
||||
* [Container Technology Wiki ](https://www.aquasec.com/wiki/display/containers/).
|
||||
|
||||
#### Docker Certified Associate exam
|
||||
|
||||
* [250 Practice Questions for the DCA Exam](https://medium.com/bb-tutorials-and-thoughts/250-practice-questions-for-the-dca-exam-84f3b9e8f5ce).
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue