Last active
November 26, 2024 15:51
-
-
Save dixsonhuie/26aad7361dadae953900a88f886ecfd1 to your computer and use it in GitHub Desktop.
docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker container inspect influxdbV1 | grep IPAddress | |
- influxdbV1 is the name of the docker instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -p 3000:3000 --name=grafana \ | |
--user "$(id -u)" \ | |
--volume "$PWD/docker-data:/var/lib/grafana" \ | |
grafana/grafana-oss | |
See: https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
influxdb 1.8 on Docker | |
sudo docker pull influxdb:1.8 | |
sudo docker run -d --name=influxdbV1 -p 8086:8086 -v $PWD/influxdb:/var/lib/influxdb influxdb:1.8 | |
sudo docker exec -it influxdbV1 influx | |
# in interactive session | |
create database mydb | |
show databases | |
exit | |
See: https://medium.com/@techworldthink/how-to-install-influxdb-v1-using-docker-on-ubuntu-a-step-by-step-guide-0d721f2a3caf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment