GithubHelp home page GithubHelp logo

[Bug Report] something went wrong in docker container. `level=fatal msg="dae.Run: load eBPF objects: field TproxyWanEgress: program tproxy_wan_egress: load program: argument list too long: ;: 1428: (71) r2 (truncated, 879 line(s) omitted)"` about daed HOT 8 CLOSED

daeuniverse avatar daeuniverse commented on May 29, 2024
[Bug Report] something went wrong in docker container. `level=fatal msg="dae.Run: load eBPF objects: field TproxyWanEgress: program tproxy_wan_egress: load program: argument list too long: ;: 1428: (71) r2 (truncated, 879 line(s) omitted)"`

from daed.

Comments (8)

dae-prow avatar dae-prow commented on May 29, 2024

Thanks for opening this issue!

from daed.

mzz2017 avatar mzz2017 commented on May 29, 2024

https://github.com/daeuniverse/dae/blob/main/docs/en/troubleshooting.md#fail-to-load-ebpf-objects
@kunish 可能是和这个有关系,需要检查一下编译 docker 里的 clang 版本

from daed.

hero-intelligent avatar hero-intelligent commented on May 29, 2024

@mzz2017 @kunish This is what I got from golang:1.20-bookworm

# in the system terminal:
docker run -it --rm golang:1.20-bookworm

# in the container:
apt-get update
apt-get install clang -y

This is the output of clang --version after these commands:

root@9ad12dc3dc97:/go# clang --version
Debian clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
root@9ad12dc3dc97:/go# exit
exit

NOTE:
this is Bookworm, not to mention Bullseye, which is written in the Dockerfile!

Maybe there is a need of another stage to compile clang-15 from source and then install it in the build-bundle stage.

Maybe change line 21 into RUN apt-get update && apt-get install -y llvm clang-15 git make will work.

from daed.

hero-intelligent avatar hero-intelligent commented on May 29, 2024

Another question, Why there isn't a docker-compose.yml similar to that of dae in the repository? Neither is wing? We need an official one that is complete and tested enough. Mine is just a copy from dae, but i'm not sure whether it is complete enough.

from daed.

mzz2017 avatar mzz2017 commented on May 29, 2024

Can you help improve the Dockerfile and dockrt-compose? Thanks so much!

from daed.

hero-intelligent avatar hero-intelligent commented on May 29, 2024

I'll make a pull request later.

from daed.

hero-intelligent avatar hero-intelligent commented on May 29, 2024

@mzz2017 @kunish Pull request made. Please review the code.

from daed.

miooochi avatar miooochi commented on May 29, 2024

@hero-intelligent Thanks for your contribution! Let's discuss the implementation details further in the PR.

from daed.

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.