https://github.com/jshrake/docker-plasma
Docker images for plasma services and tools
https://github.com/jshrake/docker-plasma
plasma
Last synced: 6 months ago
JSON representation
Docker images for plasma services and tools
- Host: GitHub
- URL: https://github.com/jshrake/docker-plasma
- Owner: jshrake
- Created: 2024-05-11T13:20:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T17:48:11.000Z (about 2 years ago)
- Last Synced: 2025-03-31T01:14:41.809Z (over 1 year ago)
- Topics: plasma
- Language: Dockerfile
- Homepage: https://github.com/zeugma-hamper/plasma
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-plasma [](https://github.com/jshrake/docker-plasma/actions/workflows/main.yaml)
- **plasma-pool-tcp-server**: [](https://hub.docker.com/r/jshrake/plasma-pool-tcp-server/)
- **plasma-pool-zeroconf-server**: [](https://hub.docker.com/r/jshrake/plasma-pool-zeroconf-server/)
---
Docker images and [compose](./compose.yaml) file for [plasma](https://github.com/zeugma-hamper/plasma). Specificaly for [pool-tcp-server](https://github.com/zeugma-hamper/plasma/blob/iz/libPlasma/c/pool_tcp_server.c) and [pool-server-zeroconf-adapter](https://github.com/zeugma-hamper/plasma/blob/iz/libPlasma/zeroconf/pool-server-zeroconf-adapter.cpp). Everything you need to run a pool tcp server that is zeroconf announced on your local network!
```console
docker compose up
```
Note that the pool-zeroconf-server container needs to run on a host system that is running avahi-daemon, and the files `/var/run/dbus` and `/var/run/avahi-daemon/socket` need to be volume mounted into the container. See [compose.yaml](compose.yaml) for all the details. Given all of this, you wont be able to run the pool-zeroconf-server container on MacOS.
To install avahi-daemon:
```console
sudo apt install avahi-daemon
sudo systemctl enable avahi-daemon
sudo systemctl status avahi-daemon
```
Additionally, all the plasma command-line tools are available in the plasma container and you can run them like:
```console
p() { docker run -it --network host --entrypoint "p-$1" jshrake/plasma:latest "${@:2}"; }
p create tcp://localhost/test
p info tcp://localhost/test
p deposit tcp://localhost/test -d hello -i name:world
p await tcp://localhost/test
```