Closed arunsilu closed 6 years ago
hi, @arunsilu
can you give us more details regarding the issue you are facing?
Cheers!
Hi,
PFA
Thanks Arun
On Tue, 24 Jul 2018, 23:21 Daniel López, notifications@github.com wrote:
hi, @arunsilu https://github.com/arunsilu
can you give us more details regarding the issue you are facing?
Cheers!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/devopsfaith/krakend-ce/issues/26#issuecomment-407494616, or mute the thread https://github.com/notifications/unsubscribe-auth/Ai9Tzyt8NjGgSzrFo4vFfc0nYTOdV1RNks5uJ16cgaJpZM4VdKx0 .
PFB DETAILS
FROM alpine:3.7
LABEL maintainer="dortiz@devops.faith"
RUN apk add --no-cache ca-certificates ADD krakend-alpine /usr/bin/krakend
VOLUME [ "/etc/krakend" ]
ENTRYPOINT [ "/usr/bin/krakend" ] CMD [ "run", "-c", "/etc/krakend/krakend.json" ]
EXPOSE 8000 8090
error Step 1/8 : FROM alpine:3.7 ---> 791c3e2ebfcb Step 2/8 : LABEL maintainer="dortiz@devops.faith" ---> Using cache ---> c2e1fa20dc39 Step 3/8 : RUN apk add --no-cache ca-certificates ---> Using cache ---> 0d4d7e2f9c0d Step 4/8 : ADD krakend-alpine /usr/bin/krakend ADD failed: stat /var/lib/docker/tmp/docker-builder387431314/krakend-alpine: no such file or directory
HOW TO RESOLVE THAT ISSUE
are you using the makefile?
In order to build the docker image you must execute make docker_build_alpine krakend_docker
Cheers!
now it is working. i build the image. How to start that containers? please help
please, check out the available documentation: http://www.krakend.io/docs/overview/installing/#docker
also, you can use the designer for an easier customization of the config file: http://designer.krakend.io/
PFB DETAILS WHEN I RUN, docker run -p 8080:8080 -v $PWD:/etc/krakend/ devopsfaith/krakend run --config /etc/krakend/krakend.json
OUTPUT :
[KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG count: 0 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG min: 0 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG max: 0 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG mean: 0.00 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG stddev: 0.00 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG median: 0.00 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG 75%: 0.00 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG 95%: 0.00 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG 99%: 0.00 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG 99.9%: 0.00 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG gauge krakend.service.runtime.NumThread [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG value: 9 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG gauge krakend.service.runtime.MemStats.HeapReleased [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG value: 1040384 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG gauge krakend.service.runtime.MemStats.HeapSys [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG value: 5865472 [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG gauge krakend.service.runtime.MemStats.PauseTotalNs [KRAKEND] 2018/07/25 - 12:43:33.121 ▶ DEBUG value: 108146
HOW TO SAW MY BROWSER THAT OUTPUT?
hi,
that depends on your configuration.
the defined endpoints should be exposed at the port defined also in the config (maybe it's not the 8080 you're exposing from the container)
Thanks
On Tue, Jul 31, 2018 at 5:36 PM, Daniel López notifications@github.com wrote:
hi,
that depends on your configuration.
the defined endpoints should be exposed at the port defined also in the config (maybe it's not the 8080 you're exposing from the container)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/devopsfaith/krakend-ce/issues/26#issuecomment-409197063, or mute the thread https://github.com/notifications/unsubscribe-auth/Ai9Tz-6H0dMVwZrdkri4i2gP3y65SHLbks5uMEhPgaJpZM4VdKx0 .
This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.
when i build a docker image ,i got a issue