Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cornfeedhobo/docker-monero
Built from source monero Docker images based on Alpine Linux
https://github.com/cornfeedhobo/docker-monero
docker monero wallet
Last synced: about 1 month ago
JSON representation
Built from source monero Docker images based on Alpine Linux
- Host: GitHub
- URL: https://github.com/cornfeedhobo/docker-monero
- Owner: cornfeedhobo
- License: mit
- Created: 2017-04-29T20:46:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T05:07:38.000Z (2 months ago)
- Last Synced: 2024-10-30T09:43:18.372Z (2 months ago)
- Topics: docker, monero, wallet
- Language: Dockerfile
- Homepage:
- Size: 65.4 KB
- Stars: 10
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-monero
[![Docker Stars](https://img.shields.io/docker/stars/cornfeedhobo/monero.svg)](https://hub.docker.com/r/cornfeedhobo/monero/)
[![Docker Pulls](https://img.shields.io/docker/pulls/cornfeedhobo/monero.svg)](https://hub.docker.com/r/cornfeedhobo/monero/)**Built from source [monero](http://getmonero.org) Docker images based on [Alpine Linux](https://alpinelinux.org)**
## TL;DR
```bash
UID="$(id -u)" GID="$(id -g)" docker compose run wallet
``````bash
docker compose down
```## Running the Daemon
```bash
docker run -dit --name monero \
-v $HOME/.bitmonero:/root/.bitmonero \
-p 18080:18080 -p 18081:18081 \
--user="$(id -u):$(id -g)" \
cornfeedhobo/monero
```## Checking the container status
```bash
docker logs monero
``````bash
curl -X POST http://localhost:18081/json_rpc \
-d '{"jsonrpc":"2.0","id":"test","method":"get_info"}' \
-H "Content-Type: application/json" \
-H "Accept:application/json"
```## Using the wallet
### Docker exec
```bash
docker exec -it monero monero-wallet-cli --wallet-file=wallet
```### Isolated container
```bash
docker run --rm -it --link monero \
-v $HOME/.bitmonero:/root/.bitmonero \
--user="$(id -u):$(id -g)" \
cornfeedhobo/monero \
monero-wallet-cli \
--wallet-file=wallet \
--daemon-address="$MONERO_PORT_18081_TCP_ADDR:$MONERO_PORT_18081_TCP_PORT"
```_Note: these are special environment variables filled in by the docker daemon and are specific to these examples_.
## Is it any good?
[Yes](http://news.ycombinator.com/item?id=3067434)