Reading and writing files with dockerimage

I have a simple python script that reads in a .csv file from disk, processes it, puts it into a dataframe and writes it to another .csv file back to the disk.

Now, I have made a docker image out of this script and want to run the image to process the file.But I am not getting any output. Details of the Dockerfile used to build the image are as follows:

  • Migrating from shared development database to single database for each developer
  • Setting Up LDAP on Odoo with Docker
  • Coreos security
  • Firewall rules for Docker Hub access
  • Large memory usage despite vm_memory_high_watermark being set
  • Deploy a Dockerized Symfony2 application on AWS Elastic Beanstalk
  •     FROM python:3
    
        ADD io_python.py 
    
        RUN pip install pandas
    
        CMD [ "python", "./io_python.py" ]
    

    io_python.py is the python script that reads in, processes, and outputs csv file.I am running this from a windows machine.

    Any help will be appreciated, thanks !

  • How to build a large docker image with relatively small disk space consumption?
  • dotnet core SDK/Runtime on debian in dockers
  • Node / Express app can't connect to docker mongodb
  • How to mount host directory in docker container using remote api
  • Running Docker as non-root user
  • Running quick programs inside a docker container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.