Shout, a node irc client/server in the browser, in a container
Pull from Docker Hub
$ docker pull arbourd/shoutOr clone the git repo and build the image
$ git clone git@github.com:arbourd/docker-shout.git$ docker run --name=shout -d -v ~/shout:/shout -p 9000:9000 arbourd/shoutSet the PORT env variable in your run command to whatever port you want, in this case 8080
$ docker run --name=shout -d -e PORT=8080 -v ~/shout:/shout -p 8080:8080 arbourd/shoutYou must have a user created to start the server as private. Without one, the container will simply exit.
Set the PRIVATE env variable in your run command to true to run Shout as private
$ docker run --name=shout -d -e PRIVATE=true -v ~/shout:/shout -p 9000:9000 arbourd/shoutFirst, find the running container's id (or use the containers name in place of the id):
$ docker ps -l | grep shout
> CONTAINER ID IMAGE COMMAND
> 2a05fd52a599 arbourd/shout:latest "/bin/bash -c /init.sh"Run your shout command with Docker's exec and your container id or name, with the --home /shout flag
# With container's ID
$ docker exec -i 2a05fd52a599 shout --home /shout add user
# With container's name
$ docker exec -i shout shout --home /shout add userPlease see the Shout documentation for more details
Public Domain