Skip to content

Commit

Permalink
Update containers resources
Browse files Browse the repository at this point in the history
  • Loading branch information
abregman committed Nov 1, 2021
1 parent d65fe66 commit 1728b50
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 9 deletions.
1 change: 1 addition & 0 deletions resources/containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Comments

Name | Comments
:------ |:--------:
[container-diff](https://github.com/GoogleContainerTools/container-diff) | "container-diff is a tool for analyzing and comparing container images"
[awesome-docker](https://github.com/veggiemonk/awesome-docker) |

### Books
Expand Down
24 changes: 24 additions & 0 deletions resources/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,27 @@ Name | Comments
#### Network

* List networks: `docker network ls`

#### Compose

* Deploy compose app: `docker-compose up`
* Stop and delete a running Compose app: `docker-compose down`
* Restart a Compose app: `docker-compose restart`
* List each container in the Compose app: `docker-compose ps`
* Stop all of the container in Compose app: `docker-compose stop`
* Delete a stopped Compose app: `docker-compose rm`

### Common Failures

#### Unable to start the Docker service

Error:

` Failed to start Docker Application Container Engine.`

Fix:

```
sudo firewall-cmd --permanent --zone=docker --change-interface=docker0
sudo firewall-cmd --reload
```
14 changes: 5 additions & 9 deletions resources/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ Name | Comments
[Kubernetes Deployment Tutorial](https://devopscube.com/kubernetes-deployment-tutorial) |
[Katacoda](https://www.katacoda.com/courses/kubernetes) | Learn Kubernetes using Interactive Browser-Based Scenarios

### Kubernetes - Tooling

Name | Comments
:------ |:--------:
[confTest](https://www.conftest.dev) | Used in the development phase
[datree](https://www.datree.io) | Used in the development phase
[gatekeeper](https://github.com/open-policy-agent/gatekeeper) | Used in the production
[telepresence](https://www.telepresence.io) | "FAST, LOCAL DEVELOPMENT FOR KUBERNETES AND OPENSHIFT MICROSERVICES"

### Kubernetes - Deep Dive

Name | Comments
Expand All @@ -35,11 +26,16 @@ Name | Comments
Name | Comments
:------ |:--------:
[Kubescape](https://github.com/armosec/kubescape) | "Kubescape is the first tool for testing if Kubernetes is deployed securely as defined in Kubernetes Hardening Guidance by NSA and CISA"
[Falco](https://falco.org) | "Falco...is the de facto Kubernetes threat detection engine"

### Kubernetes - Misc

Name | Comments
:------ |:--------:
[confTest](https://www.conftest.dev) | "Conftest is a utility to help you write tests against structured configuration data" (Used in the development phase)
[datree](https://www.datree.io) | "Prevent Kubernetes Misconfigurations From Reaching Production" (Used in development phase)
[gatekeeper](https://github.com/open-policy-agent/gatekeeper) | Used in the production
[telepresence](https://www.telepresence.io) | "FAST, LOCAL DEVELOPMENT FOR KUBERNETES AND OPENSHIFT MICROSERVICES"
[Kubernetes CheatSheet](https://cheatsheet.dennyzhang.com/cheatsheet-kubernetes-A4) |
[OperatiorHub.io](https://www.operatorhub.io) | Kubernetes native applications
[YAML templates](https://cheatsheet.dennyzhang.com/kubernetes-yaml-templates) |
Expand Down
7 changes: 7 additions & 0 deletions resources/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ sudo ausearch -m avc -m user_avc -m selinux_err -m user_selinux_err -i -ts today
* month: `date +”%m”`
* day: `date +”%a”`

#### Fedora

* Reset "interface text" value: `gsettings reset org.gnome.desktop.interface font-name`
* Reset "monospace text" value: `gsettings reset org.gnome.desktop.interface monospace-font-name`
* Reset "document text" value: `gsettings reset org.gnome.desktop.interface document-font-name`
* Reset "Legacy Window Titles": `gsettings reset org.gnome.desktop.wm.preferences titlebar-font`

## Checklist

Check your Linux educational progress with the following list:
Expand Down

0 comments on commit 1728b50

Please sign in to comment.