Catalyst 9300 app-hosting - docker persistant data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2022 08:04 AM - edited 04-16-2022 08:08 AM
Hi.
I'm trying to deploy a docker container on a Catalyst 9300 switch, via CLI.
Nginx Proxy Manager to be presise: https://github.com/jlesage/docker-nginx-proxy-manager
The docker run parameter for storage is
-v /docker/appdata/nginx-proxy-manager:/config:rw \ jlesage/nginx-proxy-manager
How do i translate this line into permanent persistent storage?
I have tried several iterations of this:
run-opts 1 "-v $(APP_DATA)/nginx-proxy-manager:/nginx-proxy-manager" run-opts 1 "-v $(APP_DATA)/nginx-proxy-manager:/config:rw \jlesage/nginx-proxy-manager" run-opts 1 "-v $(APP_DATA)/nginx-proxy-manager:/config:rw\jlesage/nginx-proxy-manager"
The application starts just fine, and I can see (via the IOX web page on the switch) that folders and subfolders are created, but empty.
And as soon as I run app-hosting stop / deactivate / activate / start, all configuration is gone.
Where exactly is the data stored, and how to make is persistent?
Thanks
- Labels:
-
Catalyst App Hosting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2022 11:28 AM
Do you have any USB ?
check this video and steps :
https://github.com/jeremycohoe/c9k-wireshark ( check persist-disk)
https://www.youtube.com/watch?v=m9iXvXrWZgE
