dockerchk

command module
v0.0.0-...-e238f1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 13 Imported by: 0

README

dockerchk

Checks DockerHub if any of the running images require an update. If yes, outputs the IDs of all containers that require updates.

Please note: if this program is started as user root, privileges will be dropped to "nobody" after fetching the list of running containers (use --nobody-username to specify another user).

Build

This program makes use of the syscall.Setuid and syscall.Setgid interfaces to drop privileges so it has to be built with Go 1.16+. In previous versions, this function is not implemented and returns an error.

go build .
Usage
./dockerchk # check all running containers for available updates
./dockerchk -i onlyoffice/documentserver # check only if running onlyoffice/documentserver containers require an update
Exit codes
  • 0: no updates required
  • 1: updates could not be checked, an error occured
  • 2: at least one update required

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL