I was using docker build and docker run just fine for weeks. The executable I want to put in a container runs fine also.
Suddenly I get this error I don't understand:
root@DESKTOP-EVLULFV:/home/simple/simple# docker run -i -p 8080:8080 --name simple --platform linux/amd64 quarkus/simple
./application: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
libz.so.1 is in/usr/lib/x86_64-linux-gnu and I put that folder in my path.
I build my docker image succesfully with:
docker build -f Dockerfile.native -t quarkus/simple .
I would like to inspect the container, but it does not run.
How can I tell Docker where libz.so.1 is?