File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,22 @@ sudo elastic-agent install
7878
7979For basic use the agent binary can be run directly, with the ` sudo elastic-agent run ` command.
8080
81+ #### Packaging for other architectures
82+ When packaging for an architecture different than the host machine,
83+ you might face the following error:
84+ ```
85+ exec /crossbuild: exec format error
86+ ```
87+
88+ If that happens, enable
89+ [ ` multiarch/qemu-user-static ` ] ( https://github.com/multiarch/qemu-user-static )
90+ is to enable an execution of different multi-architecture containers
91+ by QEMU and binfmt_misc:
92+
93+ ```
94+ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
95+ ```
96+
8197### Docker
8298
8399Running Elastic Agent in a docker container is a common use case. To build the Elastic Agent and create a docker image run the following command:
You can’t perform that action at this time.
0 commit comments