Docker Run

Docker runs processes in isolated containers. A container is a process which runs on a host. The host may be local or remote. When an operator executes docker run, the container process that runs is isolated in that it has its own file system, its own networking, and its own isolated process tree separate from the host.

Guacamole Remote Desktop Client

Use this command to install Guacamole Remote Desktop Client. Change the port and volume bind location if needed.

docker run \
  -p 8080:8080 \
  -v /guacamole:/config \
  oznu/guacamole

Matomo

Take back control with Matomo – a powerful web analytics platform that gives you 100% data ownership.

Matomo is used to gather analytics on The Homelab Wiki

See the official GitHub repo for more information.

Use the following command to install Matomo. Change the port and volume as needed.

docker run -d -p 8000:8000 --name matomo \
  -v /home/usr/matomo/data:/data \
  crazymax/matomo:latest

image-1600709462019.png

Intall Watchtower with E-Mail (Gmail) Notifications

Use the following code to install watchtower with gmail notifications. See more information and documentation here.

sudo docker run -d \
  --name watchtower \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -e WATCHTOWER_NOTIFICATIONS=email \
  -e WATCHTOWER_NOTIFICATION_EMAIL_FROM=youremail@gmail.com \
  -e WATCHTOWER_NOTIFICATION_EMAIL_TO=youremail@gmail.com \
  -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.gmail.com \
  -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=youremail@gmail.com \
  -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=your-email-password \
  -e WATCHTOWER_NOTIFICATION_EMAIL_DELAY=2 \
  containrrr/watchtower

Without email notifications

sudo docker run -d \
    --name watchtower \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower

Install Glances to Monitor Docker Containers (with web interface)

Glances can be installed through Docker, allowing you to run it without installing all the python dependencies directly on your system. Once you have Docker installed you can run the following command to install Glances with a web interface. See more information here.

sudo docker run -d --restart="always" -p 61208-61209:61208-61209 -e GLANCES_OPT="-w" -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host docker.io/nicolargo/glances