- Create Icecast config file
icecast.xml
- Example is provided in
/sample/icecast.xml
in repository
- Example is provided in
- Mount directory containing
icecast.xml
as/etc/icecast2
- (Optional) Mount a logs directory as
/var/log/icecast2
- Run container with mapping for port 8000
# build locally
docker build -t icecast .
docker run -p 8000:8000 -v $PWD/sample:/etc/icecast2 icecast
# run directly
docker run -p 8000:8000 -v <CONFIG_DIR>:/etc/icecast2 7digital/icecast-docker
Available at https://hub.docker.com/r/7digital/icecast-docker/