skip to Main Content

I try to deploy example Kedro starter project (pandas-iris).
I successfuly run it locally (kedro run), and then, having kedro-docker install, init a Docker, build image and push it to my registry.

Unfortunately, both kedro docker run and docker run myDockerID/iris_image generate the same error:

DataSetError: Failed while loading data from data set 
CSVDataSet(filepath=/home/kedro/data/01_raw/iris.csv, load_args={},
protocol=file, save_args={'index': False}).
[Errno 2] No such file or directory: '/home/kedro/data/01_raw/iris.csv'

It looks like the data catalog wasn’t copied to the image/container.

I would appreciate Your help,

Many thanks 🙂

Andy

2

Answers


  1. Chosen as BEST ANSWER

    Problem solved: I had to comment #data entry in .dockerignore file. Original kedro-docker keeps data folder ignored.

    @mediumnok: thank you for the comment, no problem with path :)


  2. If data catalog wasn’t copy then you probably won’t get the path? Is the data actually lives there?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search