From 9f291b9c85803fa4f649708e985db851d71b2dd9 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Thu, 8 Oct 2020 03:07:15 +0000 Subject: [PATCH] Bot Updating Documentation --- images/docker-airsonic.md | 51 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/images/docker-airsonic.md b/images/docker-airsonic.md index ed19b89e04..103ef1c6be 100644 --- a/images/docker-airsonic.md +++ b/images/docker-airsonic.md @@ -31,29 +31,7 @@ The architectures supported by this image are: Here are some example snippets to help you get started creating a container from this image. -### docker - -``` -docker create \ - --name=airsonic \ - -e PUID=1000 \ - -e PGID=1000 \ - -e TZ=Europe/London \ - -e CONTEXT_PATH= `#optional` \ - -e JAVA_OPTS= `#optional` \ - -p 4040:4040 \ - -v :/config \ - -v :/music \ - -v :/playlists \ - -v :/podcasts \ - -v :/media `#optional` \ - --device /dev/snd:/dev/snd `#optional` \ - --restart unless-stopped \ - linuxserver/airsonic -``` - - -### docker-compose +### docker-compose ([recommended](https://docs.linuxserver.io/general/docker-compose)) Compatible with docker-compose v2 schemas. @@ -75,7 +53,6 @@ services: - :/music - :/playlists - :/podcasts - volumes: - :/media #optional ports: - 4040:4040 @@ -84,6 +61,28 @@ services: restart: unless-stopped ``` +### docker cli + +``` +docker run -d \ + --name=airsonic \ + -e PUID=1000 \ + -e PGID=1000 \ + -e TZ=Europe/London \ + -e CONTEXT_PATH= `#optional` \ + -e JAVA_OPTS= `#optional` \ + -p 4040:4040 \ + -v :/config \ + -v :/music \ + -v :/playlists \ + -v :/podcasts \ + -v :/media `#optional` \ + --device /dev/snd:/dev/snd `#optional` \ + --restart unless-stopped \ + linuxserver/airsonic +``` + + ## Parameters Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `:` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container. @@ -164,9 +163,9 @@ Note that if you want to use [Airsonic's Java jukebox player](https://airsonic.g ## Docker Mods -[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=mods&query=%24.mods%5B%27airsonic%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=airsonic "view available mods for this container.") +[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=airsonic&query=%24.mods%5B%27airsonic%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=airsonic "view available mods for this container.") [![Docker Universal Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=universal "view available universal mods.") -We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above. +We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above. ## Support Info