Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Python for DevOps

You're reading from   Hands-On Python for DevOps Leverage Python's native libraries to streamline your workflow and save time with automation

Arrow left icon
Product type Paperback
Published in Mar 2024
Publisher Packt
ISBN-13 9781835081167
Length 220 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Ankur Roy Ankur Roy
Author Profile Icon Ankur Roy
Ankur Roy
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1: Introduction to DevOps and role of Python in DevOps
2. Chapter 1: Introducing DevOps Principles FREE CHAPTER 3. Chapter 2: Talking about Python 4. Chapter 3: The Simplest Ways to Start Using DevOps in Python Immediately 5. Chapter 4: Provisioning Resources 6. Part 2: Sample Implementations of Python in DevOps
7. Chapter 5: Manipulating Resources 8. Chapter 6: Security and DevSecOps with Python 9. Chapter 7: Automating Tasks 10. Chapter 8: Understanding Event-Driven Architecture 11. Chapter 9: Using Python for CI/CD Pipelines 12. Part 3: Let’s Go Further, Let’s Build Bigger
13. Chapter 10: Common DevOps Use Cases in Some of the Biggest Companies in the World 14. Chapter 11: MLOps and DataOps 15. Chapter 12: How Python Integrates with IaC Concepts 16. Chapter 13: The Tools to Take Your DevOps to the Next Level 17. Index 18. Other Books You May Enjoy

Automating container creation

Containers – in the eyes of many – are magic. You can put all the stuff you need for a smaller application or a section of a larger application into an environment solely catered to it where it can function on its own. It’s like creating a separate planet where polar bears can live in their native environment forever free from the terrors of global warming. In this way, containers are amazing since they can help maintain nearly extinct technologies in environments that can sustain them. That is truly magic. But casting the spell is rather bothersome, which is why we automate stuff.

Sample 1: Creating containers based on a list of requirements

Containers change between initialization and stoppage based on changes in the state of the files and configurations within the container. Capturing an image from this changed container will give an image that has several layers added on top of the initial layer. This is a way to create custom...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime