Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Docker image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM alpine
RUN apk add --update \
python \
py-pip \
--no-cache bash \
&& pip install liota
17 changes: 17 additions & 0 deletions Docker image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Liota Docker Image
Liota Docker image is a light weight image based on Alpine Linux.
### Base Image
Built using [Alpine base image](https://github.com/gliderlabs/docker-alpine).
### Includes following components:
- Python
- Python-pip
- Liota

### How to use image:
- Now do `docker build -t liota .` in terminal Docker image will be created by the name liota.
Note: Incase of problem in building the image please configure DNS address before building the image.
- Now to run the image `docker run -it liota`

You can refer to the [Examples](https://github.com/vmware/liota/blob/master/README.md#examples) for more details on how to use liota.
You can also use a mounted device or drive from where liota will pick the data `docker run -it -v /path/to/mount-device:/mnt/ liota`.
You will have to write your own UDM's in order to get that data from that mount-device and send to DCC's.