[tldr]
pulling jenkins: docker pull jenkins
make a named data volume: docker create -v /var/jenkins_home --name jenkins-dv jenkins
using a data volume container: docker run -d -p 8080:8080 --volumes-from jenkins-dv --name myjenkins jenkins
so now I can: docker start myjenkins & docker stop myjenkins
but if I forget that I named it myjenkins – how can I find it?
docker images - returns the image jenkins, which i cannot start
docker inspect jenkins – doesn’t mention myjenkins
docker inspect myjenkins – shows that it exists
but how do I find it if I forgot what I named it ?