$ docker rm $(docker ps -aq)
$ docker rmi $(docker images | grep -v 'registry.company.com/foo\|registry.company.com/bar' | awk {'print $3'})
$ docker exec -i -t <container-id> /bin/bash
$ docker run -i -t wildfly-helloworld:latest /bin/bash
$ docker ps -a
Mount host filesystem to container (/tmp/log of the host will be mounted as /home/jboss//standalone/log inside the container)
$ docker run -p 8080:8080 -p 9990:9990 -v /tmp/log:/home/jboss/standalone/log wildfly-helloworld:latest
$ docker ps -a
$ docker diff dbcda82c20fc
$ docker commit dbcda82c20fc wildfly-helloworld:my-new-tag