Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

docker exec mount volume

#make sure that you are inside the same directory
docker run -v pwd:/container/directory -other -options image_name command_to_run
Source by codefreelance.net #
 
PREVIOUS NEXT
Tagged: #docker #exec #mount #volume
ADD COMMENT
Topic
Name
6+8 =