Skip to content
Snippets Groups Projects
Commit 5322173a811d authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: add line that should have stayed there

parent 425ed2d0d7de
No related branches found
No related tags found
No related merge requests found
......@@ -293,6 +293,7 @@
logging.debug('Using data volume %s', data_volume_name)
volume = getVolume(docker_client, data_volume_name)
# make sure the permission in the volume are correct
mount_opts = 'source={},target=/mnt/data'.format(data_volume_name)
# TODO replace by something cleaner if possible
call(['docker', 'run', '--rm', '--mount', mount_opts, 'busybox', 'chmod', '777', '/mnt/data'])
binds.append('{}:/mnt/data'.format(data_volume_name))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment