Docker can't send http, install curl, apt update, etc

I have code in docker container that sends http request. but i have

lobby-service-1  | The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.

i cant try curl inside docker container and cant install curl or use apt-update

Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Ign:1 http://deb.debian.org/debian bookworm InRelease

(there are get 2 ign 2 etc)
so i just dont know what can i do with it

I am afraid that your post just tells us that a container times out while accessing an arbitrary bookwork repository, we need way information to understand the contexts the problem occours in.

What kind of container image do you use? Got a Dockerfile or use a ready made one?