This is for everyone that finds the 'Swiss army knife for STEEM' Piston project useful. I created and deployed Docker images on Docker Hub for Piston and Piston.web Alpha version. # Now you can run [Piston] and [Piston.web] Alpha inside Docker container. This solution has several advantages: now you can run Piston and Piston.web alpha on your Mac/ Ubuntu/Fedora/Gentoo/Windows using a simple 'docker run' command. Piston and its dependencies will not pollute your OS as everything sits inside the Docker container. ## [Piston] ### Pulling the image from Docker Hub ``` $ docker pull cryptomental/steem-piston latest: Pulling from cryptomental/steem-piston ... Digest: sha256:c1cadfef0fd92ca5edd537464f727cbd47406d59f08bf6431c0f413e850161d4 Status: Downloaded newer image for cryptomental/steem-piston:latest ``` ### Running the image ``` $ docker run -it cryptomental/steem-piston ``` You should end up in Docker container shell with Piston support and be able to execute Piston commands: ``` $ piston read @xeroc/piston-cli-quickstart ``` If everything goes well you should see Piston quickstart message: http://i.imgsafe.org/2f610ec3e9.png ## [Piston.web] Alpha ### Pulling the image from Docker Hub ``` $ docker pull cryptomental/steem-piston-web latest: Pulling from cryptomental/steem-piston-web ... Digest: sha256:a65d7cfcbe79826bbf2b20420c74515850c92300488d1a75d0a35347750140b3 Status: Downloaded newer image for cryptomental/steem-piston-web:latest ``` ### Running the image ``` $ docker run --net=host -it cryptomental/steem-piston-web ``` You should end up in Docker container shell with Piston.web Alpha support and be able to execute start Piston.web: ``` piston@cryptomental-lin:~$ piston web Please provide a password for the new wallet Passphrase: You have chosen an empty password! We assume you understand the risks! ``` Now open your web browser and navigate to http://127.0.0.1:5054 You should be able to access [Piston.web] interface! http://i.imgsafe.org/2f7b4b5d48.png I hope you enjoy my contribution and I suspect this will spread the work about Piston.web and help to alpha test it. I will be maintaining the [Piston.web] Docker image until it is merged to master branch and becomes an official part of Piston. Dockerfile GitHub repositories are here: https://github.com/cryptomental/docker-steem-piston https://github.com/cryptomental/docker-steem-piston-web Let me know if you are curious how I created the images, set up Docker Hub and connected it to GitHub. I will then describe the procedure in my next post! Cheers! P.S. This is my day 3 of Steem lean start-up 90 day challenge. I am still reading [Mastering Bitcoin](https://github.com/bitcoinbook/bitcoinbook) book and my head is turning from 4:3 to 16:9.
author | cryptomental |
---|---|
permlink | piston-and-piston-web-dockerized |
category | steem |
json_metadata | {"tags":["steem","learntocode","docker","piston"],"users":["xeroc"],"image":["http://i.imgsafe.org/2f610ec3e9.png"]} |
created | 2016-08-04 08:15:09 |
last_update | 2016-08-04 08:15:09 |
depth | 0 |
children | 3 |
last_payout | 2016-09-03 21:42:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 7.275 HBD |
curator_payout_value | 0.754 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,768 |
author_reputation | 6,756,831,217,523 |
root_title | "[Piston] and [Piston.web] Dockerized !" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 597,219 |
net_rshares | 3,978,846,508,882 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
anonymous | 0 | 28,844,265,533 | 1% | ||
penambang | 0 | 124,519,787,887 | 100% | ||
boy | 0 | 3,685,381,662 | 100% | ||
xeroc | 0 | 1,882,514,701,451 | 100% | ||
bue-witness | 0 | 4,471,849,494 | 100% | ||
bunny | 0 | 1,008,134,811 | 100% | ||
bue | 0 | 60,724,234,979 | 100% | ||
mini | 0 | 1,976,064,746 | 100% | ||
moon | 0 | 289,128,610 | 100% | ||
steempower | 0 | 1,232,463,317,303 | 100% | ||
healthcare | 0 | 733,495,969 | 100% | ||
daniel.pan | 0 | 1,231,309,658 | 100% | ||
helen.tan | 0 | 401,276,448 | 100% | ||
unosuke | 0 | 87,283,739,116 | 100% | ||
noisy | 0 | 34,110,405,913 | 100% | ||
kaj-huisman | 0 | 512,983,803 | 100% | ||
nate-atkins | 0 | 7,715,913,360 | 100% | ||
acidyo | 0 | 9,486,686,625 | 100% | ||
murh | 0 | 1,394,844,885 | 11.33% | ||
calamus056 | 0 | 2,751,473,170 | 100% | ||
innocent22 | 0 | 3,949,733,973 | 100% | ||
kenny-crane | 0 | 106,797,961,982 | 100% | ||
omarb | 0 | 119,643,412,721 | 100% | ||
crypto-fan | 0 | 19,493,667,712 | 100% | ||
magnebit | 0 | 5,667,943,547 | 100% | ||
r4fken | 0 | 15,407,368,035 | 100% | ||
mrgreen | 0 | 1,528,607,769 | 100% | ||
jesta | 0 | 79,270,017,293 | 100% | ||
karen13 | 0 | 2,819,689,386 | 100% | ||
hankrearden | 0 | 241,421,637 | 100% | ||
dimon14 | 0 | 132,380,480 | 100% | ||
maximaug | 0 | 234,499,098 | 100% | ||
fiona777 | 0 | 234,425,474 | 100% | ||
nataschasielers | 0 | 58,496,223 | 100% | ||
williamger | 0 | 39,519,166 | 100% | ||
qonq99 | 0 | 515,180,902 | 100% | ||
jl777 | 0 | 81,016,104,789 | 100% | ||
proto | 0 | 13,218,154,840 | 100% | ||
yarly10 | 0 | 198,673,579 | 100% | ||
yarly11 | 0 | 112,662,118 | 100% | ||
celebr1ty | 0 | 19,524,890,846 | 100% | ||
michiel | 0 | 8,546,372,907 | 100% | ||
extricati0n | 0 | 1,920,394,210 | 100% | ||
shortcut | 0 | 2,429,914,877 | 100% | ||
taker | 0 | 5,898,947,546 | 100% | ||
feedthemachine | 0 | 424,116,931 | 100% | ||
bitcalm | 0 | 3,198,082,608 | 100% | ||
pjheinz | 0 | 31,743,477 | 0% | ||
thegoldencookie | 0 | 59,097,612 | 100% | ||
cryptomental | 0 | 60,480,413 | 100% | ||
oedipus | 0 | 53,551,308 | 100% | ||
abramjs | 0 | 0 | 100% | ||
mrstaf | 0 | 0 | 100% |
Hi @cryptomental great job, *"Let me know if you are curious how I created the images, set up Docker Hub and connected it to GitHub. I will then describe the procedure in my next post!"* Ok I'm very curious. Could you please continue your post? best
author | abramjs |
---|---|
permlink | re-cryptomental-piston-and-piston-web-dockerized-20170713t112520672z |
category | steem |
json_metadata | {"tags":["steem"],"users":["cryptomental"],"app":"steemit/0.1"} |
created | 2017-07-13 11:25:21 |
last_update | 2017-07-13 11:25:21 |
depth | 1 |
children | 0 |
last_payout | 2017-07-20 11:25:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 252 |
author_reputation | 5,140,841,678,300 |
root_title | "[Piston] and [Piston.web] Dockerized !" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 8,329,644 |
net_rshares | 0 |
This is very cool!! Your code reminds me that I need to figure out how to distribute the JS/CSS libraries used ..
author | xeroc |
---|---|
permlink | re-cryptomental-piston-and-piston-web-dockerized-20160804t082101391z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-08-04 08:21:00 |
last_update | 2016-08-04 08:21:00 |
depth | 1 |
children | 1 |
last_payout | 2016-09-03 21:42:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 113 |
author_reputation | 118,819,064,085,695 |
root_title | "[Piston] and [Piston.web] Dockerized !" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 597,263 |
net_rshares | 0 |
Thanks! I used npm and bower to install missing dist/, but I guess you can simply add it to the current develop branch. I will remove it from the Dockerfile afterwards.
author | cryptomental |
---|---|
permlink | re-xeroc-re-cryptomental-piston-and-piston-web-dockerized-20160804t082500278z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-08-04 08:25:00 |
last_update | 2016-08-04 08:25:00 |
depth | 2 |
children | 0 |
last_payout | 2016-09-03 21:42:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 168 |
author_reputation | 6,756,831,217,523 |
root_title | "[Piston] and [Piston.web] Dockerized !" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 597,304 |
net_rshares | 0 |