docker run -it ubuntu /bin/bash
docker run -it alpine /bin/ash # and do somethings and exit
docker commit -a myth -m 'install crystal' 7d40949fa189 alpine_crystal # save the change to new local image alpine_crystal
or
docker commit -a 'myth' -m 'install crystal' 19bc5431d047 ilikeorange/alpine-crystal # save the change to new local image alpine_crystal for push
docker push ilikeorange/alpine-crystal #push the new image to dockerhub
docker cp 03d0c69f8ed5:/crystal/rr .
docker search alpine # can not get alpine-crystal
docker search alpine-crys # can get apline-crystal