Skip to content

Instantly share code, notes, and snippets.

@metachris
Last active March 5, 2018 10:18
Show Gist options
  • Save metachris/7db0dcb819dfbb229b4f65145538f347 to your computer and use it in GitHub Desktop.
Save metachris/7db0dcb819dfbb229b4f65145538f347 to your computer and use it in GitHub Desktop.

Context: https://www.youtube.com/watch?v=4M1jWsD0KJQ

Docker commands

docker rm $( docker ps -qa ) -f
docker run --rm -d --name neo-privatenet -p 20333-20336:20333-20336/tcp -p 30333-30336:30333-30336/tcp cityofzion/neo-privatenet
docker exec -it neo-privatenet /bin/bash

Inside the container

screen -ls
screen -X -S node1 quit
screen -d -r node2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment