a variant of mackerel/mackerel-agent. has automated plugin installation and light-weight image
10K+
Visit https://github.com/mackerelio/docker-mackerel-agent/blob/master/README.md for basic usage.
| Image | Official | Image size(approx.) | Support arm64/armv7 | Bundled official plugins 1 | Plugin installation |
|---|---|---|---|---|---|
| mackerelio/mackerel-agent | ✓ | 390MB | ✘ | ✓ | ✘ |
| ruins/mackerel-agent:latest | ✘ | 240MB | ✓ | ✓ | ✓ |
| ruins/mackerel-agent:latest-light | ✘ | 80MB | ✓ | ✘ | ✓ |
By setting mackerel_plugins for environment variable, install plugins when start docker image.
docker run -h `hostname` \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/mackerel-agent/:/var/lib/mackerel-agent/ \
-e 'apikey=<APIKEY>' \
-e 'enable_docker_plugin=1' \
-e 'mackerel_plugins="xruins/mackerel-plugins-hddtemp xruins/mackerel-plugins-nicehash-stats"' \
--name mackerel-agent \
-d \
mackerel/mackerel-agent
The repository to specify in mackerel_plugins must be compatible to installation with mkr plugin install.
it means all plugins of mackerelio/mackerel-agent-plugins and mackerelio/go-check-plugins are executable in PATH. ↩
Content type
Image
Digest
sha256:aba27d96d…
Size
278.7 MB
Last updated
over 3 years ago
docker pull ruins/mackerel-agent