Skip to content

Latest commit

 

History

History
100 lines (69 loc) · 1.55 KB

README.md

File metadata and controls

100 lines (69 loc) · 1.55 KB

Docker-in-Radiant

Dockerhub: https://hub.docker.com/u/radiantcommunity

Docker scripts for Radiant blockchain and Optimized image size.

Quick Start with Docker Compose

RadiantCore (Mainnet Node)

Run a Radiant full node with Docker Compose:

cd RadiantCore
docker-compose up -d

This will start:

  • radiant-node: Radiant full node on mainnet
    • Port: 7333
    • RPC: user/password (default credentials)

Stop the node

docker-compose down

View logs

docker-compose logs -f

Reset the node

docker-compose down -v  # Removes the data volume
docker-compose up -d   # Starts fresh

Manual Docker Usage

Create image

docker build -t <name-image> ..

Run image

docker run -it -v <name-volume>:/data --name <name-container> <name-image>

List volumes

Allows to know which volumes are created in the system.

docker volume ls

List containers

Indicates the containers created in the system

docker container ps

Know the ip of the container to use with Electrum

docker inspect <id_container or name_container>

Entering a container

During the execution of a container, it is possible to enter it from another terminal.

docker exec -it <container_id_or name_container> /bin/bash

Reopen a container

When a container is closed and you want to continue where it was.

docker start <container_id>

Stop containers

docker kill <id_container>

Delete containers and images

docker system purge --all