Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Merge requests
!307
usse sudo for dockerinfo check
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
usse sudo for dockerinfo check
update_check_dockercontainer_info
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Hahn Axel (hahn)
requested to merge
update_check_dockercontainer_info
into
master
2 months ago
Overview
0
Commits
1
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e7e52009
1 commit,
2 months ago
2 files
+
11
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
docs/20_Checks/check_dockercontainer_info.md
+
7
−
4
View file @ e7e52009
Edit in single-file editor
Open in Web IDE
Show full file
@@ -5,8 +5,6 @@ Script: `check_dockercontainer_info`
List existing containers and show container details.
To show details you can enter an id or define a regex
⚠️ This script is more experimental.
## Requirements
*
`docker`
Docker must be installed
@@ -39,7 +37,7 @@ If DOCKER_HOST is not set then the docker socket is detected from a running dock
______________________________________________________________________
CHECK_DOCKERCONTAINER_INFO
v1.
1
v1.
2
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
@@ -90,8 +88,13 @@ None.
### Stats
`$ ./check_dockercontaeiner_
top
`
returns
`$ ./check_dockercontaeiner_
info -s
`
returns
```
txt
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
31eff39f1582 php:8.4-apache "docker-php-entrypoi…" 10 days ago Exited (0) 24 hours ago mfa-server
9fa83e21142e appmonitor-appmonitor-web "docker-php-entrypoi…" 3 weeks ago Up 3 hours (healthy) 0.0.0.0:8001->80/tcp, :::8001->80/tcp appmonitor-server
7a03472377c4 phpmyadmin/phpmyadmin "/docker-entrypoint.…" 4 weeks ago Exited (0) 4 weeks ago phpmyadmin
835b49cc042c mariadb:10.5.28 "docker-entrypoint.s…" 4 weeks ago Exited (0) 4 weeks ago apost-db
TODO
```
Loading