questions
questions copied to clipboard
Docker打包服务,运行提示 not found
使用基础镜像 alpine:3.12
# ./example-service
sh: ./example-service: not found
初步判断是依赖问题
# ldd example-service
/lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f49ebe94000)
请问怎么解决
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。
禁用cgo,重新编译 . 问题解决。