mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
Update README.md
This commit is contained in:
parent
8370b3ca50
commit
dad760f3f9
1 changed files with 18 additions and 8 deletions
26
README.md
26
README.md
|
@ -243,26 +243,36 @@ Copy the generated string and manually replace the WEB_USER value in the .env fi
|
||||||
<a name="management-tips"></a>
|
<a name="management-tips"></a>
|
||||||
### 2.2 Management Tips 🛟
|
### 2.2 Management Tips 🛟
|
||||||
|
|
||||||
1. **Attenzione Kibana**: Kibana non inizia subito dato che deve instaurare la connessione con Elasticsearch. In generale, i container che ci mettono più a partire sono i vari componenti e Kibana. Per monitorare lo stato dei container, puoi eseguire:
|
1. **Kibana **: Kibana does not start immediately as it needs to establish a connection with Elasticsearch. Generally, the containers that take the longest to start are Kibana, Dionaea and Conpot. To monitor the status of the containers, you can run:
|
||||||
|
```sh
|
||||||
|
docker ps -a
|
||||||
|
```
|
||||||
|
If you want to see containers that have yet to start, you can run:
|
||||||
```sh
|
```sh
|
||||||
docker ps -a | grep starting
|
docker ps -a | grep starting
|
||||||
```
|
```
|
||||||
Questo comando ti permette di vedere quelli che ancora devono partire.
|
|
||||||
|
|
||||||
2. **Ottenere porte di un servizio**: Puoi ottenere le porte di un servizio con il seguente comando:
|
3. **Get Service Ports**: You can get the exposed ports of a container with the following command:
|
||||||
```sh
|
```sh
|
||||||
docker inspect <container_id> | grep HostPort
|
docker inspect <container_id> | grep "HostPort"
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Ottenere indirizzo di un servizio**: Per ottenere l'indirizzo IP di un servizio, usa:
|
4. **Get Container ID**: To get the ID of a running container, use:
|
||||||
```sh
|
```sh
|
||||||
docker inspect <container_id> | grep IPAddress
|
docker ps
|
||||||
|
```
|
||||||
|
This command lists all currently running containers, showing information such as the container ID, image, command, start time, status, and names.
|
||||||
|
|
||||||
|
5. **Get Service Address**: To get the IP address of a container, use:
|
||||||
|
```sh
|
||||||
|
docker inspect <container_id> | grep "IPAddress"
|
||||||
```
|
```
|
||||||
|
|
||||||
4. **Eseguire un container con permessi di root**: Per eseguire un container con permessi di root, utilizza:
|
6. **Run a Container with Root Permissions**: To run a shell inside a container with root permissions, use:
|
||||||
```sh
|
```sh
|
||||||
docker exec -it --user root <container_id>
|
docker exec -it --user root <container_id> /bin/sh
|
||||||
```
|
```
|
||||||
|
Or
|
||||||
|
|
||||||
---
|
---
|
||||||
<a name="testing"></a>
|
<a name="testing"></a>
|
||||||
|
|
Loading…
Reference in a new issue