Use Docker to run Localtonet as a lightweight, isolated container. You can pull the latest image and authenticate it with your token.
This ensures you have the most up-to-date version of Localtonet:
docker pull localtonet/localtonet
Start the container and pass your authentication token. Replace <YOUR_TOKEN>
with your actual token from the Dashboard → My Tokens page:
docker run localtonet/localtonet --authtoken <YOUR_TOKEN>
To run Localtonet in the background and ensure it restarts automatically:
docker run -d \
--name localtonet \
--restart unless-stopped \
localtonet/localtonet --authtoken <YOUR_TOKEN>
docker ps
— view running containersdocker logs -f localtonet
— stream logsdocker stop localtonet
— stop the containerdocker start localtonet
— start againdocker rm -f localtonet
— remove container-v
if you want persistence across restarts.