Commit 49745a7 1 parent 6e4526c commit 49745a7 Copy full SHA for 49745a7
File tree 1 file changed +16
-0
lines changed
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
78
78
79
79
For basic use the agent binary can be run directly, with the ` sudo elastic-agent run ` command.
80
80
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
+
81
97
### Docker
82
98
83
99
Running 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