sealer icon indicating copy to clipboard operation
sealer copied to clipboard

ARM's DOCKERFILE is out of date

Open Daz-3ux opened this issue 1 year ago • 0 comments

          > > I have pushed some new, I have tested the Dockerfile for ARM arch, and it runs and looks good, (build sealer/pkg/infra/container/imagecontext/arm/Dockerfile in ARM64 machine and use TestContainerApply to create some nodes to test it) a detailed log is here: https://gist.github.com/Daz-3ux/71d81af0ce1c6e415775003076abd897

now we can use

> sudo ./_output/bin/sealer/linux_amd64/sealer run docker.io/sealerio/kubernetes:v1-22-15-sealerio-2 --provider container --masters 2 --nodes 2
container
2
2

to specify container provider,master countandnodes count next step is to build arm infra image, I would appreciate any guidance @kakaZhou719 @zhy76

Can this Dockerfile for ARM arch run sealer well? You can use 'docker cp' to copy the binary sealer to the container master, and use 'sealer run' to test whether this Dockerfile can run sealer well.

no,meet error

# ./sealer run
./sealer: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./sealer)
./sealer: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./sealer)
./sealer: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./sealer)

I think opening a new PR for solve is good

Originally posted by @Daz-3ux in https://github.com/sealerio/sealer/issues/2212#issuecomment-1557124222

Daz-3ux avatar May 22 '23 14:05 Daz-3ux