Snap is on open source telemetry framework.
This repository contains snap installed on several linux operating system.
- Alpine 3.4 (alpine/Dockerfile)
- CentOS 6 (centos6/Dockerfile)
- CentOS 7 (centos7/Dockerfile)
- Ubuntu 12.04 precise (trusty/Dockerfile)
- Ubuntu 14.04 trusty (precise/Dockerfile)
- Ubuntu 16.04 xenial (precise/Dockerfile)
Additional image layer info
To build a new Docker container:
$ build.sh <operating_system> <org>
The operating system supports:
- alpine
- centos6
- centos7
- trusty
- precise
- xenial
The org is the docker organization and defaults to (intelsdi)
Examples:
$ build.sh alpine intelsdi
$ build.sh trusty
$ build.sh precise
$ build.sh centos6
$ build.sh centos7
build_all.sh is a shortcut to build all supported operating systems:
$ build_all.sh
The snap containers by default will pull the latest snap build binaries. For a specific release, specify SNAP_VERSION environment variable with:
- latest (this is the default, which retrieves the latest build from snap master branch)
- version (git tag > 0.14.0)
- full git sha
$ docker run -e SNAP_VERSION=0.15.0 intelsdi/snap:alpine
time="2016-08-30T17:52:04Z" level=info msg="setting log level to: debug"
time="2016-08-30T17:52:04Z" level=info msg="Starting snapd (version: v0.15.0-beta)"
...
$ docker run -e SNAP_VERSION=906d19b646837393f9893870cc2929e791b1f3fb intelsdi/snap:alpine
time="2016-08-30T17:58:10Z" level=info msg="setting log level to: debug"
time="2016-08-30T17:58:10Z" level=info msg="Starting snapd (version: test-906d19b)"
...
See snapd man page for additional information on environment variables such as SNAP_TRUST_LEVEL, SNAP_LOG_LEVEL.