Skip to main content
Skip table of contents

Docker Monitoring

Features for Docker

Germain is capable of monitoring the uptime, performance, and usage of Docker containers. With Germain, you can gain valuable insights into the health and performance of your Docker environment.

Here are some key aspects that Germain can monitor for Docker:

Container Health

Monitor the health and resource utilization of individual Docker containers. This includes CPU usage, memory consumption, disk I/O, and network activity. By tracking these metrics, you can ensure that containers are running efficiently and detect any performance issues.

Container Images and Vulnerabilities

Monitor the Docker images being used and keep track of any known vulnerabilities or security risks associated with these images. Regularly scan container images for vulnerabilities and apply patches or updates as needed.

Container Logs and Events

Monitor the logs and events generated by Docker containers. These logs can provide valuable information for troubleshooting, identifying errors, and detecting any abnormal behavior or security issues.

Container Networking

Germain can also monitor the networking aspects of Docker containers. It can track network connectivity, network latency, and network performance metrics for containers and the Docker network infrastructure. This helps you ensure smooth communication between containers and identify any networking issues that may impact container performance.

Container Storage

Monitor Docker's storage usage, including the allocation and consumption of volumes and persistent storage. Keep an eye on storage limits, disk space utilization, and any potential storage-related errors or issues.

Container Uptime

Keep track of the availability and uptime of Docker containers. Monitor if containers are starting, stopping, or restarting frequently, as well as any container crashes or failures.

Host System Metrics

Monitor the underlying host system's resources, including CPU, memory, disk usage, and network utilization. This helps ensure that the host system can support the Docker containers and identify any resource bottlenecks or constraints.

Configuration

Germain Workspace > Left Menu > Wizard > Docker

Docker Wizard - Germain UX

How to Enable Docker Engine API

  1. Navigate to /lib/systemd/system in your terminal and open docker.service file

    CODE
    $ vi /lib/systemd/system/docker.service
  2. Find the line which starts with ExecStart and adds -H=tcp://0.0.0.0:2375 to make it look like

    CODE
    ExecStart=/usr/bin/dockerd -H=fd:// -H=tcp://0.0.0.0:2375
  3. Save the Modified File

  4. Reload the docker daemon

    CODE
    $ sudo systemctl daemon-reload
  5. Restart the docker service

    CODE
    $ sudo service docker restart
  6. Test if it is working by using this command, if everything is fine below command should return a JSON

    CODE
    $ curl http://localhost:2375/images/json
  7. To test remotely, use the PC name or IP address of Docker Host

Run Docker commands as a non-root user

To create the docker group and add your user:

  1. Create the docker group.

    CODE
    $ sudo groupadd docker
  2. Add your user to the docker group.

    CODE
    $ sudo usermod -aG docker $USER
  3. Log out and log back in so that your group membership is re-evaluated.

    On Linux, you can also run the following command to activate the changes to groups:

    CODE
    $ newgrp docker 
  4. Verify that you can run docker commands without sudo.

    CODE
    $ docker ps

For more detailed information on the monitoring capabilities and customization options available for Docker in Germain, please reaching out to us. We will provide you with further guidance and assistance tailored to your Docker monitoring needs.

Component: Engine

Feature Availability: 2022.1 or later

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.