Further to the last blog, I am also summarising how I got Docker to work as mentioned in Python for Finance book.
The first problem I faced was that I was trying to build a linux container while I had built my text file in windows. After typing out and saving the file in the appropriate folder, I used Dos2Unix converter so that my files run without any issues.
Second, what does a dockerfile look like? What is the extension? I installed a sample container from docker installation and copied the dockerfile, which I then changed per book's instructions.
Finally, I edited the dockerfile provided by book a tiny bit to get to a version that worked for me. You can use the install file from previous blog minus the setup for Jupyter notebook server to accompany the dockerfile.
The first problem I faced was that I was trying to build a linux container while I had built my text file in windows. After typing out and saving the file in the appropriate folder, I used Dos2Unix converter so that my files run without any issues.
Second, what does a dockerfile look like? What is the extension? I installed a sample container from docker installation and copied the dockerfile, which I then changed per book's instructions.
Finally, I edited the dockerfile provided by book a tiny bit to get to a version that worked for me. You can use the install file from previous blog minus the setup for Jupyter notebook server to accompany the dockerfile.
No comments:
Post a Comment