This repository provides Dockerfile for Apache TrafficServer
- Debian: buster
- TrafficServer: 9.1.1
Built images are uploaded to index.docker.io
- Install Docker: http://docs.docker.io/
- Execute
docker run -d --name TrafficServer -p 8080:8080 shaker/trafficserver
- Browse http://<your server ip address>:8080/
- Stop and start again
docker stop TrafficServer
docker start TrafficServer
This build comes with the standard configuration as provided by TrafficServer, configuration are under the following path: /etc/trafficserver
You can use docker volumes mount feature to run TrafficServer with your specific configuration, for example:
docker run -d --name TrafficServer -p 8080:8080 /MY-CONFIGS/trafficserver/:/etc/trafficserver/ shaker/trafficserver
You need to change /MY-CONFIGS/trafficserver/
to your configuration path.