1.

Movie khatam ho gi yaalbhut drawni thi....koi on hai ka mela besti.. bhai friend ya phir hone wala future bf....heeeee​

Answer»

Answer:

PLEASE mark me as brainliest for completing today's I am hope you UNDERSTAND

Explanation:

docker images | grep node-alpine

node-alpine aa1f85f8e724 69.7MB

69.7MB!

Even SMALLER than the distroless image!

Can you attach to a running container, UNLIKE distroless? It's time to find out.

Let's start the container first:

bash

docker run -p 3000:3000 -ti --rm --init node-alpine

Example app listening on port 3000!

You can attach to the running container with:

bash

docker exec -ti 9d8e97e307d7 bash

OCI RUNTIME exec failed: exec failed: container_linux.go:296: starting container process caused

"exec: \"bash\": executable file not found in $PATH": unknown

With no luck. But perhaps the container has a shell?

bash

docker exec -ti 9d8e97e307d7 sh

/ #

/ # exit

Yes! You can still attach to a running container and you have an overall smaller image.

It sounds promising, but there's a catch.



Discussion

No Comment Found

Related InterviewSolutions