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?
Irssi is a terminal based IRC client for UNIX systems. It also supports SILC
and ICB protocols via plugins. Some people refer to it as 'the client of the
Irssi is a terminal based IRC client for UNIX systems. It also supports SILC and
ICB protocols via plugins. Some people refer to it as 'the client of the
future'.
> [irssi.org](http://irssi.org)
@ -20,12 +20,10 @@ future'.
# How to use this image
Since no two users of irssi are likely to configure it exactly alike, this
image does not come with any default configuration.
Please refer to [upstream's excellent (and comprehensive)
documentation](http://irssi.org/documentation) on the subject of
configuring irssi for your needs.
Because it is unlikely any two irssi users have the same configuration
preferences, this image does not include an irssi configuration. To configure
irssi to your liking, please refer to [upstream's excellent (and comprehensive)
+documentation](http://irssi.org/documentation).
Be sure to also checkout the [awesome
scripts](https://github.com/irssi/scripts.irssi.org) you can download to
@ -33,14 +31,28 @@ customize your irssi configuration.
## Directly via bind mount
docker run -it --name my-running-irssi -e TERM \
-u $(id -u):$(id -g) -v $HOME/.irssi:/home/user/.irssi:ro \
On a Linux system, build and launch a container named `my-running-irssi` like
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 \
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 $HOME/.irssi:/home/user/.irssi --read-only \
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) \
--read-only -v $HOME/.irssi:/home/user/.irssi \
-v /etc/localtime:/etc/localtime \
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
customize your irssi configuration.
## Directly via bind mount
On a Linux system, build and launch a container named `my-running-irssi` like
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 \
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 \
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
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.
@ -40,6 +41,7 @@ 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
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 \
irssi