Skip to content

Latest commit

 

History

History
149 lines (102 loc) · 7.13 KB

2023-10-18-docker-1.md

File metadata and controls

149 lines (102 loc) · 7.13 KB

DIY Docker part 1

  • Goal:Learn Docker and its fundamentals. By the end of the week, you will have the knowledge and skills to create docker images and run containers.
  • Dates: from 18th October to 25th October.
  • Where: #project-of-the-week in DataTalks.Club (get in slack here: https://datatalks.club/slack.html)

For more information about the "Project of the Week" initiative at DataTalks.Club, see README.md.

If you want to receive reminders about this event, sign up here

Technologies

  • VS Code
  • Docker
  • Python
  • FastAPI,Flask,Streamlit
  • Github

Note: this is a suggested list of technologies, you can chose alternatives instead

Plan

This is a proposed plan only, you don’t have to follow it day-by-day.

Day 1 (18 October, Wednesday)

Suggested material:

Found good materials? Create a PR with links!

Day 2 (19 October, Thursday)

Suggested material:

Found good materials? Create a PR with links!

Day 3 (20 October, Friday)

  • Choose a project on your own, you can create a simple prediction model or an analysis. Choose a dataset from this link: list of some datasets
  • Create a script that prints information about this dataset. (for exampe df.describe) or that makes a prediction.
  • Create a Dockerfile with a light python image that prints the same result after running the container.
  • Push your changes to GitHub.
  • Share your progress in Slack and on social media.

Suggested material:

Found good materials? Create a PR with links!

Day 4 (21 October, Saturday)

  • Create an API for your project. It can be a simple get reques with a simple message or a post request for your model prediciton. If you dont have much time to prepare your own API in python check these examples and the required commands from this repo: prediction_service.py
  • You can also create a frontend server with streamlit.
  • Push your changes to GitHub.
  • Share your progress in Slack and on social media.

Suggested material:

Found good materials? Create a PR with links!

Day 5 (22 October, Sunday)

  • Create a Dockerfile that contains commands to run the API. Use a light python image as a base. See the suggestions below depending on the tool you used yesterday.
  • Run the container and test your API endpoint. (make sure you have exposed the port of the container).
  • Push your changes to GitHub.
  • Share your progress in Slack and on social media.

Suggested material:

Found good materials? Create a PR with links!

Day 6 (23 October, Monday)

Suggested material:

Found good materials? Create a PR with links!

Day 7 (24 October, Tuesday)

  • Continue exploring more about this topic.
  • Bonus: Configure CI/CD on your project.
  • Push your changes to GitHub.
  • Share your progress in Slack and on social media.
  • Give us feedback.
  • Add the link to your project to this project of the week GitHub page.

Suggested material:

Projects

List of projects from our participants:

(We will put the projects here after the event finishes)