One minute
Getting Into Alpine Linux Container Without Bash
By default, Alpine Linux images do not have bash installed, therefore running
docker exec <container> -it /bin/bash
will not work.
We can add bash by running apt add --no-cache bash
, or use installed /bin/sh
instead.
It might be just enough for what you need instead of having to installing bash and rebuilding the container.
Read other posts
comments powered by Disqus