简体   繁体   中英

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 stores some artifacts in the file system. You will lose these data if you recreate the container. You can attach a volume mount when running the container as follows.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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