Merge pull request #158 from moxiegirl/issue-157

Issue 157 Fix for Mac
This commit is contained in:
Tianon Gravi 2015-02-10 13:27:41 -08:00
commit 9c7a1c465d
2 changed files with 28 additions and 19 deletions

View File

@ -75,4 +75,4 @@ Before you start to code, we recommend discussing your plans
through a [GitHub issue](https://github.com/jfrazelle/irssi/issues), especially for more ambitious through a [GitHub issue](https://github.com/jfrazelle/irssi/issues), especially for more ambitious
contributions. This gives other contributors a chance to point you in the right contributions. This gives other contributors a chance to point you in the right
direction, give you feedback on your design, and help you find out if someone direction, give you feedback on your design, and help you find out if someone
else is working on the same thing. else is working on the same thing.

View File

@ -1,7 +1,7 @@
# What is irssi? # What is irssi?
Irssi is a terminal based IRC client for UNIX systems. It also supports SILC Irssi is a terminal based IRC client for UNIX systems. It also supports SILC and
and ICB protocols via plugins. Some people refer to it as 'the client of the ICB protocols via plugins. Some people refer to it as 'the client of the
future'. future'.
> [irssi.org](http://irssi.org) > [irssi.org](http://irssi.org)
@ -10,27 +10,36 @@ future'.
# How to use this image # How to use this image
Since no two users of irssi are likely to configure it exactly alike, this Because it is unlikely any two irssi users have the same configuration
image does not come with any default configuration. preferences, this image does not include an irssi configuration. To configure
irssi to your liking, please refer to [upstream's excellent (and comprehensive)
Please refer to [upstream's excellent (and comprehensive) +documentation](http://irssi.org/documentation).
documentation](http://irssi.org/documentation) on the subject of
configuring irssi for your needs.
Be sure to also checkout the [awesome Be sure to also checkout the [awesome
scripts](https://github.com/irssi/scripts.irssi.org) you can download to scripts](https://github.com/irssi/scripts.irssi.org) you can download to
customize your irssi configuration. customize your irssi configuration.
## Directly via bind mount ## Directly via bind mount
docker run -it --name my-running-irssi -e TERM \ On a Linux system, build and launch a container named `my-running-irssi` like
-u $(id -u):$(id -g) -v $HOME/.irssi:/home/user/.irssi:ro \ this:
-v /etc/localtime:/etc/localtime:ro \
irssi
# in Docker 1.5 you can use the --read-only flag docker run -it --name my-running-irssi -e TERM \ -u $(id -u):$(id -g) -v
docker run -it --name my-running-irssi -e TERM \ $HOME/.irssi:/home/user/.irssi:ro \ -v /etc/localtime:/etc/localtime:ro \
-u $(id -u):$(id -g) -v $HOME/.irssi:/home/user/.irssi --read-only \ irssi
-v /etc/localtime:/etc/localtime \
irssi
On a Mac OS X system, run the same image using:
docker run -it --name my-running-irssi -e TERM -u $(id -u):$(id -g) \ -v
$HOME/.irssi:/home/user/.irssi:ro irssi
You omit `/etc/localtime` on Mac OS X because `boot2docker` doesn't use this
file.
Of course, you can name your image anything you like. In Docker 1.5 you can also
use the `--read-only` mount flag. For example, on Linux:
docker run -it --name my-running-irssi -e TERM \ -u $(id -u):$(id -g) -v
$HOME/.irssi:/home/user/.irssi --read-only \ -v
/etc/localtime:/etc/localtime \ irssi