Smaller Docker image for Elastic's APM with Alpine Linux
docker build . -t apm
Create your custom apm-server.yaml
file, and pass it to container
docker run -it --rm \
-v $(pwd)/apm-server.yaml:/usr/share/apm-server/apm-server.yaml \
-p 8200:8200 anapsix/apm