Code Monkey home page Code Monkey logo

snap-docker's Introduction

Snap Telemetry Dockerfile

Snap is on open source telemetry framework.

This repository contains snap installed on several linux operating system.

Additional image layer info

Build Docker Containers

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

Run Snap Containers

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.