Giter Club home page Giter Club logo

Comments (3)

kroese avatar kroese commented on July 2, 2024

If you use macvlan you cannot connect to localhost, but you must do it to 192.168.0.150 instead.

So try http://192.168.0.150:8006

from windows-arm.

E1t2han avatar E1t2han commented on July 2, 2024

I access the container from the web http://192.168.0.150:8006,but I still couldn't acess the container,my box is Nanopc T6(cpu: RK 3588),thanks!Image_1717066462804.png

Image_1717066945791.png

from windows-arm.

kroese avatar kroese commented on July 2, 2024

With macvlan you cannot reach that IP from the host (this is described in the FAQ, and also a solution is given). Normally this is not a problem, because people run the container on their server, and access the IP from their desktop/laptop. But from the screenshots it looks like you are running the browser on the same machine where the docker is running.

So go to http://192.168.0.150:8006/ from another machine in your network (your mobile phone for example) and confirm it works. After that you can apply the workaround as described in the FAQ to also make it work from the same machine, but its a little bit complicated.

I dont even understand why you enabled macvlan in the first place, because if you only need access from the same machine, then macvlan has no real advantage over the default bridge networking with localhost.

from windows-arm.

Related Issues (20)

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.