nanovms / ops-documentation

Documentation for NanoVMs OPS
https://docs.ops.city
20 stars 37 forks source link

add docs for specifying --arch for cross-arch building/running #391

Closed eyberg closed 1 year ago

eyberg commented 1 year ago

https://github.com/nanovms/ops/commit/e6d76650275d05caefefcf02d9a74b2f5202840b

eyberg commented 1 year ago

specifically if you want to run a x86 based pkg on say an arm m1/m2 the arch is actually set as

ops run mybin --arch=amd64 (we should probably complain to the user if it's not a valid arch and something is set)

eyberg commented 1 year ago

threw in some notes here - https://github.com/nanovms/ops-documentation/pull/428 , also fixed the above w/ https://github.com/nanovms/ops/pull/1516