Follow our Telegram channel to get notified instantly whenever new books are published.
Docker Practical Guide For Developers And DevOps Teams – Bernd Oggl

This service uses the current PostgreSQL image and uses the depends_on statement to indicate that the database server must also be started. As a command for the backup service, it’s not the PostgreSQL database that should be started but pg_dump (here, in the multiline YAML Ain’t Markup Language [YAML] notation). The backup file is stored in /backup/geonames.dump. In this case, it’s a volume managed by Docker, but you can of course mount a local directory of your computer here.
The pg_dump command reads from the environment variable PGPASSWORD, which is the data- base password defined in the environment section. The trick with this setup is that docker compose is called with both configuration files and the run statement for the backup service: docker compose -f docker-compose.yml \ -f docker-compose.backup.yml run –rm backup This starts a container that runs the backup service and uses the pg_dump command to save the backup to /backup.
After that, the container gets deleted again (–rm), and the volume remains with the backup. 10.3 MongoDB With MongoDB, we want to introduce just one of the many NoSQL databases. Unlike relational database systems (RDBMS), NoSQL databases don’t use tables and fixed structures. Data is stored in documents whose structures aren’t bound to a strict schema. On one hand, this is very convenient because it saves complicated database schema adjustments, but on the other hand, it can also lead to confusion if each docu- ment has a different structure.
Especially in the environment of modern web applications, NoSQL databases are very popular. The JavaScript Object Notation (JSON) format, which is widely used as an exchange format between the frontend and backend, can be stored or updated very conveniently in NoSQL databases, often without modifying it. MongoDB also has the reputation of scaling well with very large data volumes (keyword Big Data), even where relational databases reach their limits.
The Rheinwerk Computing series from Rheinwerk Publishing offers new and established professionals comprehensive guidance to enrich their skillsets and enhance their career prospects. Our publications are written by leading experts in the fields of programming, administration, security, analytics, and more. Each book is detailed and hands-on to help readers develop essential, practical skills that they can apply to their daily work.
For further information, please visit our website: www.rheinwerk-computing.com. Philip Ackermann JavaScript: The Comprehensive Guide 2022, 982 pages, paperback and e-book www.rheinwerk-computing.com/5554 Sebastian Springer Node.js: The Comprehensive Guide 2022, 834 pages, paperback and e-book www.rheinwerk-computing.com/5556 Christian Ullenboom Java: The Comprehensive Guide 2022, 1126 pages, paperback and e-book www.rheinwerk-computing.com/5557 Johannes Ernesti, Peter Kaiser Python 3: The Comprehensive Guide 2022, 1036 pages, paperback and e-book www.rheinwerk-computing.com/5566 Bernd Öggl, Michael Kofler Git: Project Management for Developers and DevOps Teams 2023, 407 pages, paperback and e-book www.rheinwerk-computing.com/5555 Rheinwerk Computing Bernd Öggl, Michael Kofler Docker Practical Guide for Developers and DevOps Teams Dear Reader, One line from Docker’s mission statement has always stood out to me: “We handle the tedious setup, so you can focus on the code.”
I like to think that we do something simi- lar here at Rheinwerk. Having been internet-dwellers for a few decades now, most of us have had the experi- ence of picking up a new skill solely from web content. We’ve cobbled together an edu- cation in, say, sourdough baking, via YouTube videos, blog posts, and how-to articles.
However, online learning has its drawbacks: you’ve got to sift out misinformation, you don’t always know what you don’t know, and content isn’t always tailored to your needs (as anyone who has tried to bake at 8,000 feet above sea level using a standard recipe can testify)!
So perhaps our version would be: “We curate the content, so you can focus on learn- ing.” With all our books, our goal is always to present our reader with vetted informa- tion that’s been thoughtfully organized and meets their needs. My first piece of advice to new authors is this: keep your reader in mind and write what they need to know. What did you think about Docker: Practical Guide for Developers and DevOps Teams? Your comments and suggestions are the most useful tools to help us make our books the best they can be.
This is a short excerpt from the opening of “” by Unknown, quoted for review and introduction purposes. All rights belong to the copyright holders.
Book Information
- Unique ID: 5bf4cc90657811ad
- File Extension: .pdf
- File Size: 21,981,094 bytes (20.963 MB)
- Title: –
- Author: Unknown
- ISBN: 9781493223831, 9781493223848, 9781493223855
- Pages: 495
- Language: English (en)
Reading & Word Statistics
- Estimated Reading Time: 634.53 minutes
- Total Words: 126,906
- Total Characters: 898,628
- Average Words per Page: 256.38
- Average Characters per Page: 1815.41
Most Frequent Words
docker (2737), container (824), image (735), file (723), run (648), com (525), server (512), use (511), command (501), name (440), containers (409), web (394), gitlab (358), copy (354), also (349), service (346), linux (346), docker-compose (346), user (335), images (319), https (309), following (293), version (286), need (285), root (279), data (264), node (262), host (262), system (261), directory (259), database (256), start (255), using (249), rheinwerk (248), running (247), create (247), nginx (247), personal (245), publishing (244), inc (242), wordpress (241), see (241), kubernetes (240), boston (238), yml (237), narahari (236), simhadri (236), jijap (236), datoinf (236), volumes (235), mysql (231), files (229), example (225), compose (223), var (222), volume (213), set (212), new (211), used (205), first (201), section (200), network (197), mariadb (195), port (194), configuration (194), services (192), however (190), environment (189), default (189), want (187), dockerfile (186), html (185), figure (184), chapter (180), local (179), it’s (178), one (176), application (176), install (174), php (174), password (173), podman (173), via (172), now (168), swarm (168), api (168), time (163), installation (157), created (157), code (154), commands (153), build (151), info (151), process (150), setup (144), mongo (143), access (141), alpine (137), apache (132), work (130).
