FHIR Chat · hapiproject/hapi - can't get to containers filesystem · hapi

Stream: hapi

Topic: hapiproject/hapi - can't get to containers filesystem


view this post on Zulip Mike Yackanich (Mar 22 2022 at 15:34):

Not sure if this is an appropriate question for this group - apologies if that is the case.

I have been running the HAPI docker container available on dockerhub for a while. A week or so again I downloaded the latest (v5.7.0). Since I "upgraded" to the latest I can no longer access the container's filesystem using

docker exec -it <containername> /bin/bash

I get the following error

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown

I've read many posts suggesting to try /bin/sh or /sbin/bash and so forth - but nothing works. I can't even use "docker cp". I just want to update the application.yaml file - nothing fancy.

Any ideas?

view this post on Zulip Patrick Werner (Mar 22 2022 at 15:53):

Hi @Mike Yackanich the docker image default was recently switched to distroless for security reasons. If you want to have a bash you can use the v5.7.0-tomcat tag of the image


Last updated: Apr 12 2022 at 19:14 UTC