Skip to main content

Installation

This installation is the most basic way to deploy Dozzle. 

The Docker Compose I currently use has a password set up for security and it also runs a separate agent for a separate Docker server. These additions are not included in the installation below.

The process below is via SSH to my main server using a terminal.

  1. First change directory to your Docker folder (I keep all containers in a Docker folder). Add a folder called dozzle. Change directory to the dozzle directory and then add a docker-compose file. To do this, the following four command lines should be entered into the command line separately:
  cd /docker
  sudo mkdir dozzle
  cd /docker/dozzle
  sudo nano docker-compose.yml
  1. Once the nano editor is open, add the docker compose lines below:

               **The appropriate TZ can be found with the command in this link -> command to find your time zone, TZ.

services:
  dozzle:
    container_name: dozzle
    image: amir20/dozzle:latest
    restart: unless-stopped
    ports:
      - 8892:8080
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment: 
     - TZ=America/Santo_Domingo
  1. Press Ctrl-O and then enter to save the file. Ctrl-X to exit the Nano editor.
  2. Then start the container with the following command:
sudo docker compose up -d
  1. You can now enter dozzle in your internet browser with:

        http://<local ip address>:8892