Update README.md

This commit is contained in:
Domenico Del Giudice 2025-03-02 12:09:59 +01:00 committed by GitHub
parent 8370b3ca50
commit dad760f3f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,26 +243,36 @@ Copy the generated string and manually replace the WEB_USER value in the .env fi
<a name="management-tips"></a>
### 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
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
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
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
docker exec -it --user root <container_id>
docker exec -it --user root <container_id> /bin/sh
```
Or
---
<a name="testing"></a>