initial dockerfile and notes

This commit is contained in:
Mike Kinney
2022-01-22 00:01:32 -08:00
parent 9f0ddda6ca
commit 01f5f1b5ba
2 changed files with 33 additions and 0 deletions

17
docker.txt Normal file
View File

@@ -0,0 +1,17 @@
To build:
docker build -t meshtastic/device .
To run:
docker run --rm -p 4403:4403 meshtastic/device
or, to get a shell on the docker image:
docker run -it meshtastic/device bash
To use python cli against it:
meshtastic --info --host localhost
To stop:
# run this to get id
docker ps
# tip: you can just use the first few characters of the id in the next command
docker kill <id>