cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1496
Views
0
Helpful
0
Replies

C9300 Application Hosting Volume Mapping

chet1
Level 1
Level 1

Using the new application hosting capabilities on a C9300 how can I map volumes to the application? Is it possible to map a directory on the host switch to a directory in the container like in a normal docker environment, for example to: usbflash1:server/logs/

 

Switch#show usbflash1:
-#- --length-- ---------date/time--------- path
2 4096 May 14 2020 21:23:25.4577615040 +00:00 server
3 4096 May 14 2020 21:27:38.9467639010 +00:00 server/properties
4 4096 May 14 2020 21:23:25.4577615040 +00:00 server/logs
5 4096 May 14 2020 21:26:51.7257634540 +00:00 server/config

 

Current application config:

!
app-hosting appid serverapp
app-vnic AppGigabitEthernet trunk
guest-interface 1
vlan 300 guest-interface 0
guest-ipaddress 192.168.10.100 netmask 255.255.255.0
app-default-gateway 192.168.10.254 guest-interface 0
app-resource docker
run-opts 1 "-p 61000:61000"
run-opts 2 "-p 61500-61600:61500-61600"
run-opts 3 "-h placeholder"

!

 

 

Thank you for any help!

0 Replies 0