docker的多个image指向同一个id是怎么实现的?
比如ubuntu这样的
ubuntu saucy 9f676bd305a4 5 weeks ago 178 MB
ubuntu 13.10 9f676bd305a4 5 weeks ago 178 MB
ubuntu raring eb601b8965b8 5 weeks ago 166.5 MB
ubuntu 13.04 eb601b8965b8 5 weeks ago 166.5 MB
ubuntu quantal 5ac751e8d623 5 weeks ago 161 MB
ubuntu 12.10 5ac751e8d623 5 weeks ago 161 MB
ubuntu 10.04 9cc9ea5ea540 5 weeks ago 180.8 MB
ubuntu lucid 9cc9ea5ea540 5 weeks ago 180.8 MB
ubuntu 12.04 9cd978db300e 5 weeks ago 204.4 MB
ubuntu latest 9cd978db300e 5 weeks ago 204.4 MB
ubuntu precise 9cd978db300e 5 weeks ago 204.4 MB
比如12.04,precise,latest这三个tag都指向9cd978db300e这个id。
如果自己commit的时候如何实现这样的效果呢?我想每次提交新的tag的时候,将原本的latest tag指向最新的tag
I solved it myself, just use tag