Update README.md

This commit is contained in:
dr. mia von steinkirch, phd 2023-02-07 09:51:51 -08:00 committed by GitHub
parent b1acff30ea
commit 3da0940ac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`).
@ -16,7 +28,7 @@ Check storage with:
docker info |grep Storage
```
### Performance
#### performance
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
```
### Cleaning Up
#### cleaning Up
See disk space:
@ -40,13 +52,4 @@ 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).