Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.8 kB
28
Indexable
Never
sudo su
.............
cd /etc/monitor-scripts/
root@raspberrypi:/etc/monitor-scripts# docker ps -l
CONTAINER ID        IMAGE                                                   COMMAND                  CREATED             STATUS              PORTS                                                NAMES
1e8ef3ea6de0        quay.io/team-helium/miner:miner-arm64_2021.12.06.0_GA   "/opt/miner/bin/mine…"   10 hours ago        Up 10 hours         127.0.0.1:1680->1680/udp, 0.0.0.0:44158->44158/tcp   miner
root@raspberrypi:/etc/monitor-scripts#
root@raspberrypi:/etc/monitor-scripts# docker stop miner
root@raspberrypi:/etc/monitor-scripts# docker rm miner
root@raspberrypi:/etc/monitor-scripts# docker image pull quay.io/team-helium/miner:miner-arm64_2021.11.30.1_GA
root@raspberrypi:/etc/monitor-scripts# docker run -d --init --ulimit nofile=64000:64000 --restart always --publish 127.0.0.1:1680:1680/udp --publish 44158:44158/tcp -e OTP_VERSION=23.3.4.7 -e REBAR3_VERSION=3.16.1 --name miner --mount type=bind,source=/home/pi/hnt/miner,target=/var/data --mount type=bind,source=/home/pi/hnt/miner/log,target=/var/log/miner --device /dev/i2c-0  --privileged -v /var/run/dbus:/var/run/dbus --mount type=bind,source=/home/pi/hnt/miner/configs/sys.config,target=/config/sys.config quay.io/team-helium/miner:miner-arm64_2021.11.30.1_GA
root@raspberrypi:/etc/monitor-scripts# docker ps -l
CONTAINER ID        IMAGE                                                   COMMAND                  CREATED             STATUS              PORTS                                                NAMES
1e8ef3ea6de0        quay.io/team-helium/miner:miner-arm64_2021.11.30.1_GA   "/opt/miner/bin/mine…"   10 hours ago        Up 10 hours         127.0.0.1:1680->1680/udp, 0.0.0.0:44158->44158/tcp   miner