Skip to content

pltnk/docker-icecast2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-icecast2

Build Status Docker Pulls Docker Image Size License

Simple Dockerfile for running icecast2 in a container.
Just mount your icecast.xml file and you are good to go!

Works well with containerized Liquidsoap: pltnk/docker-liquidsoap

Installation

  • Pull the image from one of public Docker registries
    • Docker Hub docker pull pltnk/icecast2
    • GitHub Packages docker pull ghcr.io/pltnk/icecast2
    • Quay.io docker pull quay.io/pltnk/icecast2
  • Build the image yourself
    • docker build -t pltnk/icecast2 github.com/pltnk/docker-icecast2

Configuration

  • Mount your icecast.xml to /etc/icecast2/icecast.xml
  • Publish necessary ports

docker run

docker run --name icecast2 -d --restart=always \
--publish 8000:8000 \
--volume /path/to/your/icecast.xml:/etc/icecast2/icecast.xml \
pltnk/icecast2

docker-compose.yml

icecast2:
  image: pltnk/icecast2
  container_name: icecast2
  restart: always
  ports:
    - 8000:8000
  volumes:
    - /path/to/your/icecast.xml:/etc/icecast2/icecast.xml