Sign inSign up

guhuaping/ats

By guhuaping

•Updated almost 11 years ago

Apache Traffic Server based on latest Ubuntu Docker image. With fix of "top" commands

Image
1

1.3K

guhuaping/ats repository overview

⁠Apache Traffic Server on Ubuntu

  • ATS Ver: 5.2.0
  • Ubuntu: 14.04
  • ATS Installation path: /opt/ats
  • Exposed port: 8080

##Installation

  • Install docker on your host OS https://docs.docker.com/⁠
  • Start ATS
    On host OS:
    docker exec -it ats /opt/ats/bin/trafficserver start
    In container:
    docker run -ti -p 17070:8080 --name ats guhuaping/ats /bin/bash

##Configuration

  • if you are not in container session, attach to container first docker attach ats
  • finish your configurations cd /opt/ats/etc/trafficserver/
  • update settings /opt/ats/bin/traffic_line -x

##Verification

  • Check port mapping is correct, the hit ATS HTTP
    docker port ats
    8080/tcp -> 0.0.0.0:17070

    http://host_ip:17070
    If use all default settings, you will see "Not Found on Accelerator" error message. That means ATS started, but configuration is not finished, check records.config, remap.config and others.
  • use traffic_top, traffic_logstats and traffic_logcat, check status and logs.

##Note This is for ATS test only, do not use in Production.
If user want to mount host directory by -v /SHARED_ATS_CONFIG/:/opt/at/etc/trafficserver, make sure in records.config the port = 8080
proxy.config.http.server_ports 8080

Tag summary

Content type

Image

Digest

sha256:1c81f5a18…

Size

330 MB

Last updated

almost 11 years ago

docker pull guhuaping/ats