docker run --rm -it -v ${PWD}:/src/scripts --name XXXXXX IMAGENAME /bin/bash
--rm
this instance will be deleted once we 'exit' the image-it
interactive mode-v
sharing folders (called sharing VOLUMES)${PWD}
source folder:
denotes that we're sharing between these two volumes/src/scripts
the destination folder. In this case, it's inside a linux image. Also, this folder will be created./bin/bash
this is the command to run .. which means we now have a 'shell' to access/run stuff inside this image