mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-25 14:10:41 +00:00
GitBook: [master] one page and 4 assets modified
This commit is contained in:
parent
5ecad1971c
commit
44ca1597b6
5 changed files with 14 additions and 6 deletions
Binary file not shown.
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 8.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.4 KiB |
BIN
.gitbook/assets/image (412).png
Normal file
BIN
.gitbook/assets/image (412).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
.gitbook/assets/image (424).png
Normal file
BIN
.gitbook/assets/image (424).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -221,15 +221,23 @@ If you are inside a host that is using docker, you may [**read this information
|
|||
|
||||
## Securing your Dockerfiles
|
||||
|
||||
* You can use the tool [https://github.com/buddy-works/dockerfile-linter](https://github.com/buddy-works/dockerfile-linter) to **inspect your Dockerfile** and find all types of misconfigurations. Each misconfiguration will be given an ID, you can find here [https://github.com/buddy-works/dockerfile-linter/blob/master/Rules.md](https://github.com/buddy-works/dockerfile-linter/blob/master/Rules.md) how to fix each of them.
|
||||
* You can use the tool [https://github.com/buddy-works/dockerfile-linter](https://github.com/buddy-works/dockerfile-linter) to **inspect your Dockerfile** and find all kinds of misconfigurations. Each misconfiguration will be given an ID, you can find here [https://github.com/buddy-works/dockerfile-linter/blob/master/Rules.md](https://github.com/buddy-works/dockerfile-linter/blob/master/Rules.md) how to fix each of them.
|
||||
* `dockerfilelinter -f Dockerfile`
|
||||
|
||||
![](../.gitbook/assets/image%20%28410%29.png)
|
||||
|
||||
* You can use the tool [https://github.com/replicatedhq/dockerfilelint](https://github.com/replicatedhq/dockerfilelint) to **inspect your Dockerfile** and find all types of misconfigurations.
|
||||
* `dockerfilelint Dockerfile`
|
||||
|
||||
![](../.gitbook/assets/image%20%28411%29.png)
|
||||
|
||||
* You can use the tool [https://github.com/replicatedhq/dockerfilelint](https://github.com/replicatedhq/dockerfilelint) to **inspect your Dockerfile** and find all kinds of misconfigurations.
|
||||
* `dockerfilelint Dockerfile`
|
||||
|
||||
![](../.gitbook/assets/image%20%28412%29.png)
|
||||
|
||||
* You can use the tool [https://github.com/RedCoolBeans/dockerlint](https://github.com/RedCoolBeans/dockerlint) to **inspect your Dockerfile** and find all kinds of misconfigurations.
|
||||
* `dockerlint Dockerfile`
|
||||
|
||||
![](../.gitbook/assets/image%20%28410%29.png)
|
||||
|
||||
* You can use the tool [https://github.com/hadolint/hadolint](https://github.com/hadolint/hadolint) to **inspect your Dockerfile** and find all kinds of misconfigurations.
|
||||
* `hadolint Dockerfile`
|
||||
|
||||
![](../.gitbook/assets/image%20%28424%29.png)
|
||||
|
||||
|
|
Loading…
Reference in a new issue