mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
bug fix to docker volume mapping
This commit is contained in:
@@ -1005,6 +1005,8 @@ class ContainerManager(multi.Thread):
|
||||
|
||||
volumes = {}
|
||||
for index, volume in volList.iteritems():
|
||||
if volume['src'] == '' or volume['dest'] == '':
|
||||
continue
|
||||
volumes[volume['src']] = {'bind': volume['dest'],
|
||||
'mode': 'rw'}
|
||||
# Prepare data for recreate function
|
||||
|
||||
Reference in New Issue
Block a user