Skip to content

Develop your ethereum smart contract with truffle inside a docker container!

Notifications You must be signed in to change notification settings

fnerdman/docker-truffle-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

This Docker Container is based on the latest node:alpine container and additionaly includes the truffle framework as well as an ethereum testrpc network. Just run the container and open up a shell. Getting started with ethereum smart contract development has never been easier!

Quicksetup

Start the container.

sudo docker run -d --name truffle -p 3000-3001:3000-3001 -p 8545:8545 -v /path/to/project:/app lead4good/truffle

Open up a shell in the docker container.

sudo docker exec -it --user $UID truffle sh

NOTE: the shell inside the docker container will read and write files as the user which has run the docker exec command

Build and migrate your project.

truffle compile
truffle migrate

About

Develop your ethereum smart contract with truffle inside a docker container!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published