Retrieve the most recent Docker container id

docker ps -l -q

Using it as an aliase alias dl='docker ps -l -q' you can then use it to save a snapshot of the Docker container e.g.

docker commit -m "Asterisk with Apache" dl mydebian_apache_asterisk

I found that helpful tip via Asterisk on Docker.[areskibelaid.com]

Tags:
Source:
0952hrs.txt
Published:
21-08-2015 09:52