Deploying a private Geth network using Docker
So you’ve started developing an Ethereum project and TestRPC has worked wonderfully. Now you're ready to set up a CI/CD pipeline as you onboard more team members or get ready for your first public network deployment. Or maybe you want to start testing some more advanced features that aren't available without a full-fledged test network. This post will walk you through the initial steps required to deploy a private blockchain development environment using Docker. There are a few options for running your own Ethereum test network for local development. This tutorial uses Geth, but it’s not the only option. Geth is our preferred Ethereum implementation. It’s the most widely-used client and is well supported. The goal here is to be able to test your applications locally without the use of the public Ethereum network. Transactions on the public network include a monetary cost, and the public test network can cause proprietary business logic to leak due to bugs. So the more you can do in your own environment to validate your smart contracts and DApps before deploying to a public network, the better. Also, the closer you can get to a public network, the less likely you’ll run into issues later. It’s important to note that while this tutorial focuses on deploying a private network, it does not adequately implement the best practices required for a production-level private network. With that in mind, this tutorial should be used for development only. If this is your first experience with smart contracts and Ethereum in general, we highly recommend reading the Ethereum White Paper for an overview (and the Yellow Paper for extra credit). We also suggest doing a few smart contract tutorials offered by the Ethereum Foundation before proceeding. To begin, there are some prerequisites that must be installed.
- Git
- Node.js
- Truffle Framework
- Docker
Share this
You May Also Like
These Related Stories
Debugging MySQL on Docker
Debugging MySQL on Docker
May 30, 2018
4
min read
Leveraging Azure Synapse Analytics Service Integrations
![](https://www.pythian.com/hubfs/Imported_Blog_Media/shutterstock_1007431111-scaled.jpg)
Leveraging Azure Synapse Analytics Service Integrations
Jan 20, 2022
6
min read
How to Send Custom Emails and Notifications In Azure Data Factory
![](https://www.pythian.com/hubfs/Imported_Blog_Media/shutterstock_272455511-scaled.jpg)
How to Send Custom Emails and Notifications In Azure Data Factory
Nov 22, 2021
7
min read
No Comments Yet
Let us know what you think