Closed VanTuz5 closed 2 months ago
Hi, your best bet is Google as we can't teach Docker from scratch. Here's a good start: https://medium.com/dev-sec-ops/docker-101-docker-compose-db96ae884cda
I'm not asking you to teach me from scratch, I'm asking you to explain how to install your program.
Follow this page in the documentation, it says:
The quickest way to get up-and-running with bitmagnet is with Docker Compose. The following docker-compose.yml is a minimal example. For a more full-featured example including VPN routing and observability services see the docker compose configuration in the GitHub repository.
Which means you copy (and adjust as needed) the content on that page into your docker-compose file and then start it from where you put that file.
docker compose up -d
I tried install "full version" with vpn and other stuff. "Error response from daemon: driver failed programming external connectivity on endpoint bitmagnet-loki (7b03e5ccb832767a5b3e484b429da49c2c64c35eebc560e4c9241f4c287035b1): Bind for 0.0.0.0:3100 failed: port is already allocated" I restarted installation "Error response from daemon: driver failed programming external connectivity on endpoint bitmagnet-prometheus (cfea07bb93766a18c33fa93d5894f4cad88ca4a15905c35e8af3f5403231ea84): Bind for 0.0.0.0:9090 failed: port is already allocated"
UPD. Minimal version installed without problem, but I want to figure out why the full version doesn't want to be installed.
Bind for 0.0.0.0:3100 failed: port is already allocated
This likely means that you in a previous attempt started some service but never stopped it, only one service per port, so you need to stop those services first.
I checked - this port is not occupied by anything
Then report it as a bug to Docker.
I'm sorry for the stupid question. I want to install the program using docker, but I have no idea how to do it. The website says - here's the code for you, run it through docker. Where and how should it be placed? I have the docker installed.