[
https://issues.apache.org/jira/browse/HTRACE-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791010#comment-14791010
]
Colin Patrick McCabe commented on HTRACE-241:
---------------------------------------------
cool! I got docker to build htrace. For me the process was like this:
1. install docker 3rd party repo for opensuse (y'all can skip this step
obivously)
2. Add {{DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"}} to
{{/etc/sysconfig/docker}} to prevent the problem described here:
http://dannytsang.co.uk/docker-on-digitalocean-cannot-resolve-hostnames/
3. {{sudo systemctl start docker}} to start the docker daemon
4. in the htrace git repo root directory (where the Dockerfile is), {{docker
build -t htrace .}}.
5. To do the build in the container:
{code}
docker run -it -v $(pwd):/htrace --entrypoint=/bin/bash htrace -c 'cd /htrace
&& mvn install'
{code}
> Docker image for HTrace
> -----------------------
>
> Key: HTRACE-241
> URL: https://issues.apache.org/jira/browse/HTRACE-241
> Project: HTrace
> Issue Type: Task
> Affects Versions: 3.1.0
> Reporter: Lewis John McGibbney
> Assignee: Jake Farrell
> Fix For: 4.1
>
> Attachments: HTRACE-241.patch
>
>
> Further to conversation over on HTRACE-157 I've started work on a Docker
> image. This image will provide an image as a resource to run examples and
> easily navigate the HTrace features for new comers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)