docker compose 启动wordpress ,删除重建之后还是原来的数据

场景:用docker compose 创建过wordpress 镜像启动之后,重新拉取镜像发现还是原来的数据。

[root@iz2zea99qngm2xmegtkiu0z my_wordpress_blog]# docker volume rm $(docker volume ls -q) #删除的全部的数据卷
1eae30a4d2532cd376a8dc882a7da69822b424b170d8b37303dfe97113e382aa
7cc709646eaa8ddb713daf051b4a95da1356df44f1c15b3a41c59dd45d8713d6
9b1f0592e2b9fe62e948419202455c03e74e725febc991a1f0981620eae9375b
49bfa2922ff5ead5527dab1167d63184a7e48b484334911df8f12051c3de6288
a8f619365cd9eba0cb93d88edcadfaf88b525222b2baa242138b6a7a24492933
da637da1154253f27cfa5da8255f927d04f44f8c2c90c08fcbef9c877b2d508e
my_wordpress_blog_db_data
[root@iz2zea99qngm2xmegtkiu0z my_wordpress_blog]#

 

posted @ 2020-01-06 15:26  喵喵2023  Views(585)  Comments(0Edit  收藏  举报