--- - name: Create the dozzle agent container docker_container: name: dozzle-agent image: amir20/dozzle:v8.8.0 command: agent restart_policy: unless-stopped recreate: true volumes: - /var/run/docker.sock:/var/run/docker.sock:ro ports: - 7007:7007