How does Docker help?
How long does it take you to install web development dependencies?
A typical WordPress installation requires Apache, PHP, MySQL, and the application itself. With a single command, Docker can have it installed in minutes on Windows, macOS, or Linux. That environment can be replicated or adapted for similar projects.
Benefits of Docker include…
- dependencies are isolated: other than disk space, your PC is not changed. You can run multiple versions of the same software at the same time, e.g. MySQL v5 and v8.
- your web app is portable: it can be transferred to another developer, device, or operating system and will work identically.
- 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 software forever.
- use the same tools and workflows: you can code and experiment on your development PC without risk.
- 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 rarely explain how to use Docker during development. Until now…
"Docker for Web Developers" demonstrates how to create development environments with practical examples. You'll be launching Docker within minutes and can progress at your own pace.
You don't need to know any particular technology – the Docker examples can be adapted to your own stack.
The content includes:
- a brief introduction to Docker benefits, concepts, and terminology
- installation of Docker and Docker Compose on Windows, macOS, and Linux
- how to run MySQL and the Adminer PHP database client using Docker and Docker Compose
- how to create a full WordPress theme/plugin development environment
- how to build a simple Node.js "Hello World" application
- how to create a complex multi-container quiz application using NGINX, MongoDB, Node.js, and client-side build tools
- how to make local code updates with live reloading and debugging in VS Code and browser DevTools
- how to push applications to Docker Hub
- how to deploy to production servers using Docker Swarm and Kubernetes
- appendices with the most useful Docker, Docker Compose, and Dockerfile commands.
Is this course for you?
If you've ever built and launched a web site, you know enough to get started with Docker.
The course is for web developers with no previous knowledge of Docker. An understanding of how web technologies mesh together is useful:
- web servers and language runtimes (e.g. Node.js, PHP, Python, Ruby, Go, Rust, .NET, etc.)
- other dependencies, such as databases (e.g. MySQL, PostgreSQL, SQLite, SQL Server, MongoDB, etc.)
About your tutor
I'm Craig Buckler, a freelance UK web developer and technical author.
I've worked on the web for more than twenty years creating successful projects for large and small organisations. My courses and training materials include:
- more than 1,200 articles and tutorials for SitePoint.com
- books including Jump Start Web Performance, Browser Devtool Secrets, and contributions to many others.
- video courses for O'Reilly and SitePoint.com
- conference talks
- Do I need to know specific languages or technologies?
- How do I watch the videos?
- You stream them online in your web browser. They're viewable on desktop or mobile devices and available from anywhere.
- Can I download the videos?
- If you're buying copies for lots of people in your organisation, contact me and I'll provide downloads.
- Will the course be updated if Docker changes?
- Yes – for at least two years after launch. You'll be alerted about the update and can download resources again.
- How much does it cost?
- $99 US dollars for the full book and video course, plus your country's sales tax where applicable.
- Can I purchase the books or videos separately?
- Yes, but I recommend buying both. The book contains more information, but some concepts may be easier to follow on video.
- Is that a one-off charge?
- Yes, that's it. Pay once and you have the course forever.
- How do I pay?
- You can safely pay by credit card, most debit cards, and PayPal. Prices are charged in US dollars which are converted to your currency by your payment provider. A "Gumroad" transaction will be shown on your statement.
- Can I get a VAT/sales tax receipt?
- Yes. Enter your business ID on the payment form or click the receipt link in the email.
- Is the course available in my language?
- It's English with US spellings. I have a reasonably clear neutral British accent, but see the sample book and videos to check!
- Is the course available in my country?
- Probably. You can buy in more than 160 countries, but contact me directly if you have any problems in your location.
- Can I sell or share the course with others?
- Please don't! Each copy is licensed to an individual person. Contact me to become an affiliate and earn money by promoting the course.
- What if I don't like the course?
- I want you to be completely satisfied and excited about using Docker in your web projects. If not, contact me with your feedback and you'll get a full refund.
Buy “Docker for Web Developers”
Purchase the books and/or videos with example code and access to the private chat room:
plus your country's taxes where applicable
£ and € conversion is approximate
You'll receive an email with links to the ebook downloads and/or videos, example code, chat room invite, and receipts. The course will be available in your Gumroad library.
Please contact me if you have any problems, queries, or comments.