Docker Containers


Portainer

Web GUI to manage Docker containers being run on a Docker Engine hosted on an Ubuntu server

Portainer

GUI Preview

image.png

Once your docker container is successfully up and running, you can access your Portainer web GUI on port 9000 of your Ubuntu Server's static IP. The homepage above shows I have my docker environment currently running and connected, which means I can deploy containers and configure them however I'd like. Your next steps should be to connect your docker profile so that you can push images. 

Portainer

Deployment

To deploy the Portainer container, you'll need to first set up a couple of configurations. These configurations will create a persistent volume, expose ports, and enable the container to run at start up automatically. 

Create Persistent Volume

In your docker engine CLI, run the following command:

Run the Container

Run the container as you would any other container, with the following ports exposed: 8000 (Portainer Agent), 9000(Web GUI)

You're all set! Run through the set-up wizard via the web GUI that can be accessed at your docker engine IP port 9000 and create your admin account. You can now view the following dashboard:

image.png


InfluxDB

Database to store data from OPNsense and Proxmox. Will be used to populate Grafana Dashboards

InfluxDB

GUI Preview

Once your docker container is configured and running, you should be able to access the Web GUI:

image.png

Create buckets to store and query data via the Data Explorer tab:

image.png

Once you create connections from buckets to your systems using the API tokens, select the bucket. You should be able to view the raw data being collected. After setting up my Proxmox bucket to receive data from my Proxmox VE to the influxDB, you can see it working below:

image.png

Grafana

Used to build dashboards!

Grafana

GUI Preview

Download and run the Grafana container. You can get more details about how to do so @DockerHub - Grafana. Or, you can just run the following command:

With your Grafana container running, it can be accessed via port 3000 of your localhost. The default login username and password is admin. Once logged in, you should see a home page like the one below: