I downloaded an image public.ecr.aws/lambda/python:3.6 from this link and I am trying to open an interactive terminal into this container image.
I tried the following tree approaches and none of these opens up any interactive terminal:
docker run -it public.ecr.aws/lambda/python:3.6 bashdocker run -it public.ecr.aws/lambda/python:3.6 /bin/bashdocker run -it public.ecr.aws/lambda/python:3.6 sh
This is the output I get in all the above three commands, it seems to be displaying the container logs rather than opening up an interactive terminal within the container image
INFO[0000] exec '/var/runtime/bootstrap' (cwd=/var/task, handler=)
Please help
pythoninstead ofbash?Dockerfilewhich is build uponpublic.ecr.aws/lambda/python:3.6and then in your Dockerfile you install the software that you need and run this image.