is there a way to keep docker containers until after jenkins build finishes. I would like to restart and attach and bash into it.
One way is to run the image with the
-td option. From
docker run --help:
-t, --tty Allocate a pseudo-TTY -d, --detach Run container in background and print container ID