Giter VIP home page Giter VIP logo

kong-book-example's People

Contributors

alexkovalevych avatar troymott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kong-book-example's Issues

Building kong-migration luarocks issue (docker-compose up, step 7 of 17)

On my fedora 30 machine (5.2.9-200.fc30.x86_64), i have an core dump on the step 7 of 17 of docker-compose up. There is any work arround?

All details are below:

$ docker-compose up
Building kong-migration
Step 1/17 : FROM alpine:3.6
---> 43773d1dba76
Step 2/17 : ENV KONG_VERSION 0.12.1
---> Using cache
---> 60276893fd0b
Step 3/17 : ENV KONG_SHA256 9f699e20e7d3aa6906b14d6b52cae9996995d595d646f9b10ce09c61d91a4257
---> Using cache
---> 2d08100e8359
Step 4/17 : RUN apk update && apk add git && apk add musl-dev && apk add gcc && apk add pcre-dev && apk add --virtual .build-deps wget tar ca-certificates && apk add libgcc openssl pcre perl && wget -O kong.tar.gz "https://bintray.com/kong/kong-community-edition-alpine-tar/download_file?file_path=kong-community-edition-$KONG_VERSION.apk.tar.gz" && echo "$KONG_SHA256 kong.tar.gz" | sha256sum -c - && tar -xzf kong.tar.gz -C /tmp && rm -f kong.tar.gz && cp -R /tmp/usr / && rm -rf /tmp/usr && apk del .build-deps && rm -rf /var/cache/apk/
---> Using cache
---> 75578f19b8df
Step 5/17 : COPY docker-entrypoint.sh /docker-entrypoint.sh
---> Using cache
---> d9eb5e25a7aa
Step 6/17 : ENTRYPOINT ["/docker-entrypoint.sh"]
---> Using cache
---> 41e249d9721c
Step 7/17 : RUN luarocks install busted
---> Running in eeb44d95cdcb
Illegal instruction (core dumped)
ERROR: Service 'kong-migration' failed to build: The command '/bin/sh -c luarocks install busted' returned a non-zero code: 132

Error wile building with docker-compose

Hi,

I am trying the first build in the book page 51 :

I am executing the lines :

git clone https://github.com/backstopmedia/kong-book-example cinema-3
cd cinema-3
docker-compose up

but getting errors at the console : (by the way, i am running docker on windows 10, Linux Containers)

Creating cinema-3_bookings_1 ... done
Creating cinema-3_movies_1 ... done
Creating cinema-3_showtimes_1 ... done
Creating cinema-3_kong-postgres_1 ... done
Creating cinema-3_kong-migration_1 ... done
Creating cinema-3_users_1 ... done
Creating cinema-3_kong_1 ...
Creating cinema-3_nginx_1 ... error

ERROR: for cinema-3_nginx_1 Cannot start service nginx: b'OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"rootfs_linux.go:58: mounting \\\"/host_mntCreating cinema-3_kong_1 ... done
1e77938e17f2e0f62e/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type'

ERROR: for nginx Cannot start service nginx: b'OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"rootfs_linux.go:58: mounting \\\"/host_mnt/d/kong/cinema-3/nginx.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/4e6d9ddaf7a7280613485a6e4f0d1d488e9e81221439241e77938e17f2e0f62e/merged\\\" at \\\"/var/lib/docker/overlay2/4e6d9ddaf7a7280613485a6e4f0d1d488e9e81221439241e77938e17f2e0f62e/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type'
Encountered errors while bringing up the project.

Thank you in advance.
Kindly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.