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
b1acff30ea
commit
3da0940ac3
1 changed files with 20 additions and 17 deletions
|
@ -1,12 +1,24 @@
|
||||||
# Docker Best Practices
|
$# resources on docker
|
||||||
|
|
||||||
## Installation in macOS
|
<br>
|
||||||
|
|
||||||
```
|
|
||||||
brew cask install docker
|
|
||||||
```
|
|
||||||
|
|
||||||
### Shared Folders
|
### 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`).
|
Removing some of the default shared folders can decrease CPU usage (e.g. remove `/Volumes` and `/private`).
|
||||||
|
|
||||||
|
@ -16,7 +28,7 @@ Check storage with:
|
||||||
docker info |grep Storage
|
docker info |grep Storage
|
||||||
```
|
```
|
||||||
|
|
||||||
### Performance
|
#### performance
|
||||||
|
|
||||||
In case of performance problems you can run:
|
In case of performance problems you can run:
|
||||||
|
|
||||||
|
@ -25,7 +37,7 @@ docker run --rm=true -it --privileged --pid=host \
|
||||||
<image name> /usr/bin/top
|
<image name> /usr/bin/top
|
||||||
```
|
```
|
||||||
|
|
||||||
### Cleaning Up
|
#### cleaning Up
|
||||||
|
|
||||||
See disk space:
|
See disk space:
|
||||||
|
|
||||||
|
@ -40,13 +52,4 @@ Remove stopped containers, dangling images, the build cache, and unused networks
|
||||||
docker system prune
|
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