10 lines
182 B
Bash
10 lines
182 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
docker run \
|
||
|
--detach \
|
||
|
--publish 8086:8086 \
|
||
|
--volume /srv/influx:/var/lib/influxdb2 \
|
||
|
--restart unless-stopped \
|
||
|
--name influx \
|
||
|
influxdb:latest
|