# Add shell to an image without one

Some images do not include a shell in order to save space, however you might need one to debug a misbihaving container. This article explains how to add a shell into an existing image.

## Prerequisites

You will need a script called add_shell.sh, which you can download from our GitHub repository.
./add_shell.sh $IMAG_NAME (optional)$UID

The script will now create an image with the same name as the provided one, but with tag :with-shell. You can now run this image and exec into it using the added shell at /bin/sh.