[root@test2 ~]# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE <none> <none> abdf7c1b7a63 2 weeks ago 1.266 GB <none> <none> 3690474eb5b4 11 months ago 0 B
修改tag
1 2 3 4 5
[root@test2 ~]# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE <none> <none> abdf7c1b7a63 2 weeks ago 1.266 GB <none> <none> 3690474eb5b4 11 months ago 0 B [root@test2 ~]# docker tag abdf7c1b7a63 docker.io/percona/pmm-server:1.2.0
2.docker容器无法启动 no such file or directory statusCode=404
vi /etc/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-LogVol00 # initrd /initrd-[generic-]version.img #boot=/dev/sda default=1 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (3.10.107-1.el6.elrepo.x86_64) root (hd0,0) kernel /vmlinuz-3.10.107-1.el6.elrepo.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_LVM_LV=VolGroup/LogVol00 rd_NO_DM rhgb quiet numa=off elevator=deadline initrd /initramfs-3.10.107-1.el6.elrepo.x86_64.img title CentOS (2.6.32-358.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_LVM_LV=VolGroup/LogVol00 rd_NO_DM rhgb quiet numa=off elevator=deadline initrd /initramfs-2.6.32-358.el6.x86_64.img 现在title CentOS (3.10.107-1.el6.elrepo.x86_64)在 0 号位置,所以将 default=1改为default=0 重启os