Docker for Web Developers
by Craig Buckler
English | 2021 | ISBN: NA | 202 Pages | PDF, EPUB | 3.91 MB
by Craig Buckler
English | 2021 | ISBN: NA | 202 Pages | PDF, EPUB | 3.91 MB
Docker will revolutionize your web projects no matter what OS you use. This book shows recipes for installing and managing all the software dependencies you need, such as servers, languages, databases, content management systems, and more.
How long does it take you to install web development dependencies?
A typical WordPress installation requires Apache, PHP, MySQL, and the application itself. Can those be installed on your OS? Are they identical across all platforms? With a single command, Docker can have them all running on Windows, macOS, or Linux in minutes. That environment can be transferred to another developer, device, or OS - it will work identically.
Docker benefits include…
dependencies are isolated: other than disk space, your PC is not changed. It's possible to run multiple versions of the same software at the same time, e.g. MySQL v5 and v8.
your web app becomes portable: it will work on any device regardless of the OS.
dependencies are lightweight: they can be started, stopped, removed, or reinstalled at any time.
older dependencies are supported: your app can continue to use the same dependencies forever.
risk-free development: your app is isolated - you can experiment without affecting your PC stability.
use the same tools and workflows: use whatever editor you like on Windows, macOS, or Linux.
deployments are more robust: your app can be launched on live servers and scaled according to demand.
Despite this, Docker is often shunned by web developers.
Docker is the most useful web development tool you're not using
It's considered too technical, unnecessary, or something for DevOps experts. Terminology and resources can be impenetrable and tutorials never explain how to use Docker during development. Until now…
"Docker for Web Developers" offers a concise and practical course with example projects that can be adapted for any software stack. You'll be using Docker in minutes and can progress at your own pace.