繁体   English   中英

wso2 api 经理 docker 存储

[英]wso2 api manager docker storage

I have setup WSO2 API Manager docker on my windows laptop and its running fine, but the API's I have deployed are getting deleted after I recreate the container again, how can persist the storage so that APIs persistence.

API Manager 将一些工件存储在文件系统中。 如果您重新创建容器,您将丢失这些数据。 您可以在运行容器时附加卷挂载,如下所示。

docker run -d -v $PWD/some-direcotry/:/home/wso2carbon/wso2am-3.1.0/repository/deployment/server/ wso2am:3.1.0

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM