diff --git a/README.md b/README.md index a882e15f..514336d9 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,15 @@ The simplest way to use dozzle is to run the docker container. Also, mount the D dozzle will be available at [http://localhost:8888/](http://localhost:8888/). You can change `-p 8888:8080` to any port. For example, if you want to view dozzle over port 4040 then you would do `-p 4040:8080`. +## Docker swarm deploy + + docker service create \ + --name=dozzle \ + --publish=8888:8080 \ + --constraint=node.role==manager \ + --mount=type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \ + amir20/dozzle:latest + #### Security dozzle doesn't support authentication out of the box. You can control the device dozzle binds to by passing `--addr` parameter. For example,