Docker Community Forums

Share and learn in the Docker community.

New to docker . please help

(Sainivasu) #1

Hello peeps,

So, I am using docker to run a software in order to perform an analysis.
the software examples asks me to download the data from a server with a cmd stated below
curl -L -O

now I want to perform an analysis on my own dataset. How can I download the data from my computer into a container ?

(Martin Terp) #2

Do you want to copy a file into a container? check

(Jjfraney) #3

Maybe you want to bind-mount the directory (containing the data file) so your application can find it?

move the data to a new directory: mv *.bz2 data
then run your container like this:
docker run … -v ./data:/internal/path/expected/by/analyzer analyzer-image