I have a little question about docker. Please understand me, I`m elementary level about docker. I'm using CentOS 7 Linux.
When I use docker (images), (espatially dropest(https://dropest.readthedocs.io/en/latest/setup.html#installation) I understand, and download image successfully with code below :
docker pull vpetukhov/dropest:latest
and get start with code below :
docker run -it vpetukhov/dropest
and copy my files to runing with dropest (Copying files from host to Docker container) with code below :
docker cp ./myfile acb889c0c379:/home/user
and running dropest(the program what I use), after running dropest, copy output files to my linux server.
docker cp acb889c0c379:~/outputFilePath/outputFile.txt ./outputFile.txt
In conclusion: docker run CONTAINER -> copy file to CONTAINER -> running program -> copy outputFile to server. I just want use 'dropest' program! there is nothing else what I want in Container.
Is there any other option? like:
[myID@server]$docker run [something option] dropest (dropest command with myFiles)
(myFiles are located on server)
then obtain outputFiles on server
Please help. Best regards.