Skip to content

pshdev1/dockermon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

  • A JavaFX desktop application to monitor and manage Docker images in real-time.

How to Run

  • In a terminal run docker_chs up, or alternatively in the docker-chs-development repo root, run chs-dev up.
  • In a separate terminal, navigate to the dockermon repo root directory, and run mvn javafx:run.
  • Alternatively, on Mac or Linux, type ./run.sh in the terminal (you may need to chmod +x run.sh first)

Information

  • Active containers are marked with a ✅, old containers with a 🛑
  • Click "Clean" button to remove old containers from the list
  • Click "Clear log" button to clear the selected log
  • Click "Reload" to reload a selected service. Eventually the reloaded service will be picked up, just wait a while like you would if running docker_chs reload in the terminal.
  • Any new logs entries appearing 5 seconds after any earlier log entries will be separated by a space for readability.
  • Any green icons ✅ will light up for 3 seconds when the corresponding service has new logs.
  • Select log text and CTRL+C to copy log text
  • Click "Split" button to split the view vertically. You can CTRL + Left Click another container to view that second container.
  • Use the search function to highlight matched logs in the primary container view.

TODO

  • Investigate switching to using docker events --filter 'event=create' --filter 'event=destroy' --format '{{.Status}} {{.ID}} {{.Actor.Attributes.name}}' instead of scanning docker ps periodically (see experimental branch)
  • For the VPN monitor, use aws configure export-credentials --format env and resulting AWS_CREDENTIAL_EXPIRATION
  • When reloading a container, monitor the whatever-service-builder-N to check for failure, since this can cause problems with UI busy spinner if it fails.
  • Fix clear log / search bug (clearing then searching shows up older results)
  • Maybe add Dockermon refresh button to force a logs flush?

Troubleshooting

  • If after running you see no containers in the list, try deleting the org.fxmisc.richtext repo in you hidden ~/.m2 folder (and other related dependencies if that doesn't work)

About

Docker logs monitor (JavaFX desktop app)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published