https://github.com/samuelkarp/purple-docker
purple-docker: A libpurple protocol plugin for your Docker containers
https://github.com/samuelkarp/purple-docker
containers docker libpurple libpurple-plugin
Last synced: about 1 year ago
JSON representation
purple-docker: A libpurple protocol plugin for your Docker containers
- Host: GitHub
- URL: https://github.com/samuelkarp/purple-docker
- Owner: samuelkarp
- License: mpl-2.0
- Created: 2017-05-19T04:50:17.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2020-06-13T19:25:10.000Z (almost 6 years ago)
- Last Synced: 2025-03-18T10:12:13.173Z (about 1 year ago)
- Topics: containers, docker, libpurple, libpurple-plugin
- Language: Go
- Size: 5.46 MB
- Stars: 44
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# purple-docker: A libpurple protocol plugin for your Docker containers
Haven't you always wanted to chat with your containers? Now, with
purple-docker, you can!
## What?
purple-docker implements a protocol plugin (prpl) that tracks running Docker
containers in your buddy list and presents STDIO via the chat interface.
## This is a terrible idea
Yes.
## Why would you even do that?
This is a toy project because I wanted to learn more about CGo and building
shared libraries.
## What does it do?
Maybe some screenshots would help?


## How do I install it?
Make sure you've got the `libpurple-dev` package installed (or at least have
the headers in a place that `pkg-config` can find), then:
```bash
go get github.com/samuelkarp/purple-docker/...
cd $GOPATH/src/github.com/samuelkarp/purple-docker
make localinstall
```
You can then launch a libpurple chat client (like pidgin) and set up an account
with the purple-docker protocol.
## How do I use it?
Run a libpurple chat program (like Pidgin) and create a new account with the
"Docker (purple-docker)" protocol. Enable the account, and then start creating
containers. (Note: purple-docker currently only supports interactive
containers and attaches to STDIO.)
The images above were created with a container launched by running `docker run
-d -i busybox`.
## Bugs?!
We got 'em! Feel free to open an issue, but also feel free to fix the bugs and
send a pull request. This is not a serious project, so bugs may not get fixed
otherwise.
## Contributions?
Yes, please!