From 627bb7e67c22277fecf5e0b329c1fc6df0dd8d17 Mon Sep 17 00:00:00 2001 From: Turbosnute Date: Sat, 23 May 2020 22:46:05 +0200 Subject: [PATCH] Multiarch, fixed some stuff in readme. --- Dockerfile | 2 ++ LICENSE | 2 +- README.md | 14 +++++++++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 643e1ae..e7fb084 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +ARG ARCH= + # Pull base image FROM ubuntu:latest diff --git a/LICENSE b/LICENSE index 90e3c42..b25504e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Øyvind Nilsen +Copyright (c) 2020 Øyvind Nilsen (turbosnute) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index e561eb0..73f040f 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,20 @@ $ docker run -d -p 8086:8086 \ ``` ### Create Dabatase +#### Curl method ``` -$ curl -G http://:8086/query --data-urlencode "q=CREATE DATABASE netatmo" +``` +#### Console Method +``` + docker run -d -p 8086:8086 \ + -v influxdb:/var/lib/influxdb \ + influxdb /bin/bash + +Container#> influx +> CREATE DATABASE netatmo +> exit + ``` ## How to run ```