create account

Dockerized Steem wallet/miner by teego

View this thread on: hive.blogpeakd.comecency.com
· @teego · (edited)
$0.88
Dockerized Steem wallet/miner
![Docker](https://blog.logentries.com/wp-content/uploads/2014/05/docker-logo-long.png)

### Prerequisites

Please see [the Docker installation documentation](https://docs.docker.com/engine/installation/) for details on how to install or upgrade your Docker daemon.

### Quick Start

Download an image with Steem wallet software from [DockerHub](https://hub.docker.com/r/teego/steem_wallet/)
```sh
docker pull teego/steem_wallet
```

Create a data folder
```
mkdir -p ~/.steem/witness_node_data_dir
```

Extract a default config file from an image
```
docker run -it teego/steem_blockchain cat /witness_node_data_dir/config.ini >~/.steem/witness_node_data_dir/config.ini
```

Edit `witness`, `miner` and `mining-threads` options
```ini
# name of witness controlled by this node (e.g. initwitness )
witness = "account"

# name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] )
miner = ["account","WIF PRIVATE KEY"]

# Number of threads to use for proof of work mining
mining-threads = 2
```

Launch a wallet container
```sh
docker run --name steem_wallet -p 8090:8090 -v ~/.steem/witness_node_data_dir:/witness_node_data_dir teego/steem_wallet
```

Once you have a wallet container running, you can run a command line interface
```sh
docker exec -it steem_wallet /root/steem/programs/cli_wallet/cli_wallet
```

### Preloaded blockchain

Download an image with preloaded blockchain from [DockerHub](https://hub.docker.com/r/teego/steem_blockchain/)
```sh
docker pull teego/steem_blockchain
```

Create a new named container with a volume to share. While this container doesn’t run an application, it reuses the `teego/steem_blockchain` image so that all containers are using layers in common, saving disk space.
```sh
docker create --name steem_blockchain teego/steem_blockchain /bin/true
```

You can then use the `--volumes-from` flag to mount the a data volume.
```sh
docker run --name steem_wallet -p 8090:8090 --volumes-from steem_blockchain -v ~/.steem/witness_node_data_dir/config.ini:/witness_node_data_dir/config.ini teego/steem_wallet
```

### Sources

Dockerfiles are available on [GitHub](https://github.com/TigerND/docker-steem)
πŸ‘  , , , , , , , , , , , , , , , , ,
properties (23)
authorteego
permlinkdockerized-steem-wallet-miner
categorysteem
json_metadata{"tags":["steemit","steem","miner","docker"],"image":["https://blog.logentries.com/wp-content/uploads/2014/05/docker-logo-long.png"]}
created2016-07-09 17:56:42
last_update2016-07-10 06:45:24
depth0
children4
last_payout2016-08-23 23:12:00
cashout_time1969-12-31 23:59:59
total_payout_value0.671 HBD
curator_payout_value0.206 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,155
author_reputation1,468,005,650,113
root_title"Dockerized Steem wallet/miner"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,571
net_rshares5,770,563,492,650
author_curate_reward""
vote details (18)
@moronmonday526 · (edited)
Nice howto, thank you. It's little guides like these that really help show off the power and value of containers, I think. That being said, cli_wallet is located in /usr/local/bin in this container, not /root/steem/programs/cli_wallet.

Thanks again, I appreciate you putting this out there.
πŸ‘  
properties (23)
authormoronmonday526
permlinkre-teego-dockerized-steem-wallet-miner-20160724t015809387z
categorysteem
json_metadata{"tags":["steem"]}
created2016-07-24 01:58:18
last_update2016-07-24 01:58:36
depth1
children0
last_payout2016-08-23 23:12:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length291
author_reputation972,053
root_title"Dockerized Steem wallet/miner"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id310,957
net_rshares62,211,405
author_curate_reward""
vote details (1)
@pfunk · (edited)
Why are you using bit.ly for your links? Also your first link says "Steem wallet 0.5.0." Version 0.5.0 is outdated and won't be able to sync with the current network.
properties (22)
authorpfunk
permlinkre-teego-dockerized-steem-wallet-miner-20160709t180557895z
categorysteem
json_metadata{"tags":["steem"]}
created2016-07-09 18:06:00
last_update2016-07-09 18:07:21
depth1
children1
last_payout2016-08-23 23:12:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length166
author_reputation221,632,045,904,452
root_title"Dockerized Steem wallet/miner"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,606
net_rshares0
@teego ·
It's version 0.8.5 actually
properties (22)
authorteego
permlinkre-pfunk-re-teego-dockerized-steem-wallet-miner-20160709t185050929z
categorysteem
json_metadata{"tags":["steem"]}
created2016-07-09 18:50:51
last_update2016-07-09 18:50:51
depth2
children0
last_payout2016-08-23 23:12:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation1,468,005,650,113
root_title"Dockerized Steem wallet/miner"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,761
net_rshares0
@teego ·
Updated to version 0.9.0rc2
πŸ‘  
properties (23)
authorteego
permlinkre-teego-dockerized-steem-wallet-miner-20160715t115141910z
categorysteem
json_metadata{"tags":["steem"]}
created2016-07-15 11:51:42
last_update2016-07-15 11:51:42
depth1
children0
last_payout2016-08-23 23:12:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation1,468,005,650,113
root_title"Dockerized Steem wallet/miner"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,226
net_rshares241,057,535
author_curate_reward""
vote details (1)