lscr.io/linuxserver/nano:latest
should retrieve the correct image for your arch, but you can also pull specific arch images via tags.0000000000000000000000000000000000000000000000000000000000000000
, this should obviously only ever be used for testing purposes. Before you run your node you should use a script baked into this image to determine your private key and required environment variables:/config/rpc-proxy.json
:process
call publishing) you should publically publish this port for access for both port 7076 and 7077. For functional light wallets on Https endpoints we will generate a self signed cert/key combo but you should add the ones associated with your domain. This will allow yours and other https hosted light wallets to hit your RPC endpoint clientside from the users web browser.CLI_OPTIONS
to the node, here is a run command example:0000000000000000000000000000000000000000000000000000000000000000
for the image. Navigate to http://localhost/#/localhost and enter this key. You should be greeted by the genesis account wallet with 340.28 Million Nano.Your Genesis account
section:<external>:<internal>
respectively. For example, -p 8080:80
would expose port 80
from inside the container to be accessible from the host's IP on port 8080
outside the container.-p
)8075
3000
3001
-e
)PUID=1000
PGID=1000
TZ=Europe/London
PEER_HOST=localhost
LIVE_GENESIS_PUB=GENESIS_PUBLIC
LIVE_GENESIS_ACCOUNT=nano_xxxxxx
LIVE_GENESIS_WORK=WORK_FOR_BLOCK
LIVE_GENESIS_SIG=BLOCK_SIGNATURE
CLI_OPTIONS=--config node.enable_voting=true
LMDB_BOOTSTRAP_URL=http://example.com/Nano_64_version_20.7z
-v
)/config
FILE__
.PASSWORD
based on the contents of the /run/secrets/mysecretpassword
file.-e UMASK=022
setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up here before asking for support.-v
flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID
and group PGID
.PUID=1000
and PGID=1000
, to find yours use id user
as below:docker exec -it nano /bin/bash
docker logs -f nano
docker inspect -f '{{ index .Config.Labels "build_version" }}' nano
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/nano:latest