Learn Docker With My Newest Course

Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker →

A Shell Script to Keep a Bunch of Dockerized Example Apps Up to Date

a-shell-script-to-keep-a-bunch-of-dockerized-example-apps-up-to-date.jpg

In this video we'll go over an example of how writing shell scripts can help save you a lot of time for things you do regularly.

Quick Jump:

After creating a few example apps for Flask, Django, Rails, Phoenix and Node it started to get a bit tedious to figure out when to update package dependencies in each project. I automated the process with a shell script, here’s what I did.

# Going Over the Script

Timestamps

  • 0:32 – Why I created this shell script
  • 2:02 – Running the deau shell script to check for updates
  • 4:33 – The main takeaway is to automate things when you can
  • 4:58 – Taking a look at the deau script’s source code
  • 10:30 – Any questions?

Reference Links

What was the latest shell script you wrote? Let me know below.

Free Intro to Docker Email Course

Over 5 days you'll get 1 email per day that includes video and text from the premium Dive Into Docker course. By the end of the 5 days you'll have hands on experience using Docker to serve a website.



Comments