diff --git a/README.md b/README.md index d2b7c195..c127afce 100644 --- a/README.md +++ b/README.md @@ -243,26 +243,36 @@ Copy the generated string and manually replace the WEB_USER value in the .env fi ### 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 | grep HostPort + docker inspect | 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 | 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 | 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 + docker exec -it --user root /bin/sh ``` + Or ---