Whitespace adjustments and run update.sh

This commit is contained in:
Joe Ferguson 2015-02-10 16:11:11 -08:00
parent 9c7a1c465d
commit d692597772
15 changed files with 126 additions and 112 deletions

View File

@ -10,8 +10,8 @@ repo](https://github.com/docker-library/official-images).
# 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)
@ -20,12 +20,10 @@ 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
@ -33,14 +31,28 @@ 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:
docker run -it --name my-running-irssi -e TERM -u $(id -u):$(id -g) \
-v $HOME/.irssi:/home/user/.irssi:ro \
-v /etc/localtime:/etc/localtime:ro \ -v /etc/localtime:/etc/localtime:ro \
irssi irssi
# in Docker 1.5 you can use the --read-only flag 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 --read-only \ 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) \
--read-only -v $HOME/.irssi:/home/user/.irssi \
-v /etc/localtime:/etc/localtime \ -v /etc/localtime:/etc/localtime \
irssi irssi

View File

@ -19,20 +19,21 @@ 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
On a Linux system, build and launch a container named `my-running-irssi` like On a Linux system, build and launch a container named `my-running-irssi` like
this: this:
docker run -it --name my-running-irssi -e TERM \ -u $(id -u):$(id -g) -v docker run -it --name my-running-irssi -e TERM -u $(id -u):$(id -g) \
$HOME/.irssi:/home/user/.irssi:ro \ -v /etc/localtime:/etc/localtime:ro \ -v $HOME/.irssi:/home/user/.irssi:ro \
-v /etc/localtime:/etc/localtime:ro \
irssi irssi
On a Mac OS X system, run the same image using: 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 docker run -it --name my-running-irssi -e TERM -u $(id -u):$(id -g) \
$HOME/.irssi:/home/user/.irssi:ro irssi -v $HOME/.irssi:/home/user/.irssi:ro \
irssi
You omit `/etc/localtime` on Mac OS X because `boot2docker` doesn't use this You omit `/etc/localtime` on Mac OS X because `boot2docker` doesn't use this
file. file.
@ -40,6 +41,7 @@ file.
Of course, you can name your image anything you like. In Docker 1.5 you can also 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: 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 docker run -it --name my-running-irssi -e TERM -u $(id -u):$(id -g) \
$HOME/.irssi:/home/user/.irssi --read-only \ -v --read-only -v $HOME/.irssi:/home/user/.irssi \
/etc/localtime:/etc/localtime \ irssi -v /etc/localtime:/etc/localtime \
irssi