User Tools

Site Tools


systems:docker_main:install_docker_containers:install_dozzle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
systems:docker_main:install_docker_containers:install_dozzle [2021/07/15 11:30] – created petersystems:docker_main:install_docker_containers:install_dozzle [2021/07/15 12:23] (current) – [Edit Restart Policy] peter
Line 1: Line 1:
 ====== Systems - Docker Main - Install Docker Containers - Install Dozzle ====== ====== Systems - Docker Main - Install Docker Containers - Install Dozzle ======
  
 +**Dozzle** monitors Docker logs.
 +
 +  * It does not store any log files.
 +  * It is for live monitoring of container logs only.
 +
 +----
 +
 +===== Install Dozzle =====
 +
 +Within the Docker Main host, run: 
 +
 +<code bash>
 +docker run --name dozzle -d --volume=/var/run/docker.sock:/var/run/docker.sock -p 8888:8080 amir20/dozzle:latest
 +</code>
 +
 +----
 +
 +===== Confirm Dozzle is running =====
 +
 +Open Portainer.
 +
 +Press **F5** to refresh.
 +
 +<WRAP info>
 +**NOTE:** This should show the Dozzle container running.
 +</WRAP>
 +
 +----
 +
 +===== Edit Restart Policy =====
 +
 +Within Portainer:
 +
 +  * Select the Dozzle Container.
 +  * Click the **Duplicate/Edit**
 +  * Scroll down to **Advanced Container Settings**.
 +  * Select **Restart Policy**. 
 +  * Change to **Unless Stopped**.
 +  * Click **Deploy the Container**.
 +  * Click **Replace**.
 +
 +<WRAP info>
 +**NOTE:**  This ensures that the container starts automatically if the host is restarted.
 +</WRAP>
 +
 +----
 +
 +===== Open Dozzle =====
 +
 +Visit http://192.168.1.30:8888 in a browser.
 +
 +<WRAP info>
 +**NOTE:**  The IP address is whatever the Ubuntu VM is using.
 +
 +  * The **8888** port is the default for Dozzle.
 +
 +</WRAP>
 +
 +----
 +
 +===== References =====
 +
 +https://github.com/amir20/dozzle
systems/docker_main/install_docker_containers/install_dozzle.1626348616.txt.gz · Last modified: 2021/07/15 11:30 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki