mkdir /var/lib/docker/volumes/HistoryDataVolumeMulti/_data/new-pool-chart
mkdir /root/github/bit-matrix/new-pool cd /root/github/bit-matrix/new-pool git clone https://github.com/bit-matrix/ba-api.git cd ba-api git checkout -b new-pool git branch --set-upstream-to=origin/new-pool new-pool git pull docker build -t ba-api-new . docker run -d -p 9901:9901 -v HistoryDataVolumeMulti:/historydatavolumemulti ba-api-new
cd /root/github/bit-matrix/new-pool/ba-api git pull docker build -t ba-api-new . docker run -d -p 9901:9901 -v Historydatavolume:/historydatavolumemulti --network="host" ba-api-new
ls /var/lib/docker/volumes/DataVolume1/
docker build -t ba-api .
docker run -d -v DataVolume1:/datavolume1 --network="host" ba-api
docker run -it -p 9901:9901 -v DataVolume1:/datavolume1 ba-api
docker run -it --rm -p 9901:9901 -v DataVolume1:/datavolume1/new-pool ba-api-new
docker image ls
docker rmi $(docker images -q)
docker ps
## Stop all running containers
docker stop $(docker ps -a -q)
## Delete all stopped containers:
docker rm $(docker ps -a -q)
DATA_DIR=/ba-api/data-dir/ node dist/app.js
MIT Free Software, Hell Yeah!