Skip to main content

Podman

Quadlet Container (Requires Podman version 4.4 or above)

Container Example

audiobookshelf.container
[Container]
ContainerName=audiobookshelf
Image=ghcr.io/advplyr/audiobookshelf:latest
AutoUpdate=registry
NoNewPrivileges=true
PublishPort=13378:80
Volume=</path/to/audiobooks>:/audiobooks
Volume=</path/to/books>:/books
Volume=</path/to/podcasts>:/podcasts
Volume=</path/to/config>:/config
Volume=</path/to/metadata>:/metadata

[Service]
Restart=always

[Install]
WantedBy=default.target

Podman Run Command

podman pull ghcr.io/advplyr/audiobookshelf

podman run -d \
-p 13378:80 \
-v </path/to/config>:/config \
-v </path/to/metadata>:/metadata \
-v </path/to/audiobooks>:/audiobooks \
-v </path/to/books>:/books \
-v </path/to/podcasts>:/podcasts \
--name audiobookshelf \
-e TZ="America/Toronto" \
ghcr.io/advplyr/audiobookshelf:latest

info
  • Remember to change the path to your actual directory and remove the <> symbols
  • Volume mappings should all be separate directories that are not contained in each other
caution

If SELinux is enabled on your host, you may need to run the following command to allow the container to access the directories you are mapping to it:

sudo chcon -R -t svirt_sandbox_file_t /path/to/directory