20 lines
421 B
Markdown
20 lines
421 B
Markdown
# Docker image for Avahi
|
|
|
|
## Get configuration from image
|
|
|
|
```bash
|
|
docker create ydkn/avahi:latest
|
|
docker cp $(docker ps -ql):/etc/avahi .
|
|
docker rm $(docker ps -ql)
|
|
```
|
|
|
|
## Modify configuration
|
|
|
|
Edit `avahi-daemon.conf` to your needs.
|
|
Edit the services in the `services` directory to your needs.
|
|
|
|
## Start the container
|
|
|
|
```bash
|
|
docker run -d --restart always --net=host -v $(pwd)/avahi:/etc/avahi ydkn/avahi:latest
|
|
```
|