Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2810

Suddenly docker run can't find libz.so.1

$
0
0

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?


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>