GithubHelp home page GithubHelp logo

davidonlaptop / docker-aglio Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 185 KB

(API Blueprint) Dockerfile for running Aglio - https://github.com/danielgtaylor/aglio

License: MIT License

Shell 100.00%

docker-aglio's People

Contributors

davidonlaptop avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-aglio's Issues

Connection refused

The port 3000 is not open in the container. When mapping it to the host or even curling it directly. Using cURL from inside the container with localhost:3000 I get an answer.

Any idea what could go wrong here?

Some cnd and logs to reproduce:

Starting the container using boot2docker as follow :

$ docker run -ti -p "4000:3000" -v "//home/docker/app/docs/api://blueprints" stephenemslie/aglio  -i //blueprints/api.md -s

Result

de9f4e96f3aa        stephenemslie/aglio "/usr/local/bin/agli   About a minute ago   Up About a minute 0.0.0.0:4000->3000/tcp   tender_sinoussi

Finding out the IP und Curling directly the container IP :

docker run odise/busybox-curl curl 172.17.0.42:3000
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to 172.17.0.42 port 3000: Connection refused

Unrecognized list

I haven't been able to make Parameters section to work, I always get these kind of warnings and it gets ignored:

Line 22: ignoring unrecognized list, expected parameter discussion, e.g. ' ... lorem ipsum' (warning code 5)
Line 20: no parameters specified, expected a nested list of parameters, one parameter per list item (warning code 3)
Line 83: ignoring unrecognized list, expected enumeration of parameter values, e.g. 'Values' followed by a nested list of possbile values (warning code 5)

The above output was thrown when using an official example from apiary:

https://raw.githubusercontent.com/apiaryio/api-blueprint/master/examples/07.%20Parameters.md

Any idea?

PD. I'm using 1.18.0, latest (aglio-1.18/Dockerfile)

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.