GithubHelp home page GithubHelp logo

Comments (5)

andywenk avatar andywenk commented on June 20, 2024

ok since I am on mac I had to start boot2docker. I was still not able to run build.sh but I was able to run docker pull magnetikonline/html5validator. But ./run.sh is still not working - I think this is expected. But I am able to run the image with docker run magnetikonline/html5validator:

docker run magnetikonline/html5validator
2014-06-16 22:45:52,835 CRIT Supervisor running as root (no user in config file)
2014-06-16 22:45:52,835 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2014-06-16 22:45:52,854 INFO RPC interface 'supervisor' initialized
2014-06-16 22:45:52,855 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2014-06-16 22:45:52,855 INFO supervisord started with pid 1
2014-06-16 22:45:53,859 INFO spawned: 'validatornu' with pid 9
2014-06-16 22:45:53,861 INFO spawned: 'apache2' with pid 10
2014-06-16 22:45:54,908 INFO success: validatornu entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-06-16 22:45:54,908 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

So that look's not too bad. But nothing is running at localhost:8080 ... Am I missing sth?

EDIT: after inspecting the code: docker run -p 8080:80 magnetikonline/html5validator does work but I don't see sth at localhost:8080 in the browser

from docker-html5-validator.

magnetikonline avatar magnetikonline commented on June 20, 2024

Hey @andywenk - thanks for the comments :)

Yep - docker pull isn't working - I think it might be due to some Ubuntu repo issues over the last few days - I might kick off another build from their console - see if it rights itself.

Anyway - for your issue - try the following from a fresh clone - see if this works.

$ docker build -t magnetikonline/html5validator .
$ docker run -dp 8080:80 magnetikonline/html5validator

Basically same build/run commands without the sudo - this is more for my Ubuntu dev boxes where sudo is needed when calling Docker. From memory a friend that tried this on OSX had to drop those.

Obviously you can use whatever tag you like in the magnetikonline/html5validator bit.

See how you go - if it works, I'll try to write something better in the README.md notes.

Pete

from docker-html5-validator.

magnetikonline avatar magnetikonline commented on June 20, 2024

@andywenk I just did another build to the Docker hub - so doing a docker pull magnetikonline/html5validator might be successful now too.

from docker-html5-validator.

andywenk avatar andywenk commented on June 20, 2024

Hey Peter,

awesome thanks. I will try both ways when I find a time slot. I will report back :)

Cheers

Andy

from docker-html5-validator.

magnetikonline avatar magnetikonline commented on June 20, 2024

Hey @andywenk - I'll close this issue out, let me know if you are still having troubles :)

from docker-html5-validator.

Related Issues (4)

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.