From 464ec77093343b648bd33b9f7716aa45ab3d2845 Mon Sep 17 00:00:00 2001 From: Gavin <57272374+thtmnisamnstr@users.noreply.github.com> Date: Fri, 12 Apr 2024 09:54:31 -0700 Subject: [PATCH] Docker Fundamentals ebook CTAs (#824) * added the docker fundamentals ebook cta component Signed-off-by: thtmnisamnstr * added docker fundamentals ebook cta to the 8 posts included in the ebook Signed-off-by: thtmnisamnstr --------- Signed-off-by: thtmnisamnstr --- blog/_includes/cta/docker-fundamentals-cta.html | 11 +++++++++++ ...3-10-understanding-docker-logging-and-log-files.md | 3 ++- blog/_posts/2021-05-05-docker-networking.md | 3 ++- blog/_posts/2021-05-20-docker-multistage.md | 3 ++- blog/_posts/2022-01-05-docker-secrets.md | 3 ++- blog/_posts/2022-02-08-docker-volumes.md | 3 ++- blog/_posts/2022-10-31-how-to-use-docker-in-vscode.md | 3 ++- blog/_posts/2023-05-17-github-actions-and-docker.md | 3 ++- blog/_posts/2023-08-10-debugging-docker-containers.md | 3 ++- 9 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 blog/_includes/cta/docker-fundamentals-cta.html diff --git a/blog/_includes/cta/docker-fundamentals-cta.html b/blog/_includes/cta/docker-fundamentals-cta.html new file mode 100644 index 000000000..370d019ce --- /dev/null +++ b/blog/_includes/cta/docker-fundamentals-cta.html @@ -0,0 +1,11 @@ + + If you enjoyed this tutorial you might want to grab a copy the **free eBook "Docker Fundamentals"**. It covers the essentials of Docker, including volumes, networking, secrets management, logging, multistage builds, debugging, and even practical use cases like integration with Visual Studio Code and GitHub Actions. **Download the free Docker Fundamentals ebook right now.** + + \ No newline at end of file diff --git a/blog/_posts/2021-03-10-understanding-docker-logging-and-log-files.md b/blog/_posts/2021-03-10-understanding-docker-logging-and-log-files.md index 417825be4..cd1485c7d 100644 --- a/blog/_posts/2021-03-10-understanding-docker-logging-and-log-files.md +++ b/blog/_posts/2021-03-10-understanding-docker-logging-and-log-files.md @@ -311,4 +311,5 @@ While Docker containerization allows developers to encapsulate a program and its As we have seen in this post, to facilitate logging, Docker offers logging drivers and commands in the platform which gives you the mechanisms for accessing the performance data and also provides plugins to integrate with third-party logging tools as well. To maximize the logging capabilities there are several methods and strategies which help in designing your logging infrastructure, but each comes with its advantages and disadvantages. -With this understanding of logging, containerization can be a powerful tool. Earthly is a containerized [continuous integration tool](https://cloud.earthly.dev/login). If you've ever had to deal with flaky builds you should [check it out](https://cloud.earthly.dev/login). +{% include_html cta/docker-fundamentals-cta.html %} + diff --git a/blog/_posts/2021-05-05-docker-networking.md b/blog/_posts/2021-05-05-docker-networking.md index 2c4ce3bc9..e8b29e6ed 100644 --- a/blog/_posts/2021-05-05-docker-networking.md +++ b/blog/_posts/2021-05-05-docker-networking.md @@ -708,4 +708,5 @@ That should provide you with a decent overview of how Docker networking provides Next you might like to read more about a better way to do [docker multi-stage builds](/blog/docker-multistage) or if you'd like a faster way to build software, check out [Earthly](https://cloud.earthly.dev/login): -{% include_html cta/bottom-cta.html %} +{% include_html cta/docker-fundamentals-cta.html %} + diff --git a/blog/_posts/2021-05-20-docker-multistage.md b/blog/_posts/2021-05-20-docker-multistage.md index e92b00172..9ee1a8a35 100644 --- a/blog/_posts/2021-05-20-docker-multistage.md +++ b/blog/_posts/2021-05-20-docker-multistage.md @@ -170,4 +170,5 @@ The builder pattern has evolved over time in its implementation, with multistage Though not foolproof, multistage builds have made it much easier to create optimized images that you can be more pleased and confident to have running in your production environment. -{% include_html cta/bottom-cta.html %} +{% include_html cta/docker-fundamentals-cta.html %} + diff --git a/blog/_posts/2022-01-05-docker-secrets.md b/blog/_posts/2022-01-05-docker-secrets.md index 9a531d395..58a9679b1 100644 --- a/blog/_posts/2022-01-05-docker-secrets.md +++ b/blog/_posts/2022-01-05-docker-secrets.md @@ -218,4 +218,5 @@ To further expand on the possibilities of your Docker containers, try [Earthly]( For more information, check the [Earthly Documentation](https://docs.earthly.dev/). -{% include_html cta/bottom-cta.html %} +{% include_html cta/docker-fundamentals-cta.html %} + diff --git a/blog/_posts/2022-02-08-docker-volumes.md b/blog/_posts/2022-02-08-docker-volumes.md index c8aeb2024..9a92c4b19 100644 --- a/blog/_posts/2022-02-08-docker-volumes.md +++ b/blog/_posts/2022-02-08-docker-volumes.md @@ -291,4 +291,5 @@ In this guide, you looked at how volumes work with Docker, what they do, and whe Docker plays an important role in the DevOps ecosystem, so if you want to improve your continuous integration process, consider [Earthly](https://cloud.earthly.dev/login). Earthly is a build automation tool that allows you to build anything via containers, making your builds self-contained, repeatable, portable, and parallel. -{% include_html cta/bottom-cta.html %} +{% include_html cta/docker-fundamentals-cta.html %} + diff --git a/blog/_posts/2022-10-31-how-to-use-docker-in-vscode.md b/blog/_posts/2022-10-31-how-to-use-docker-in-vscode.md index d75e678f0..71f8c1745 100644 --- a/blog/_posts/2022-10-31-how-to-use-docker-in-vscode.md +++ b/blog/_posts/2022-10-31-how-to-use-docker-in-vscode.md @@ -192,4 +192,5 @@ The VS Code docker extension enhances your productivity by streamlining terminal And if you're enjoying this streamlined Docker workflow in VS Code, you'll likely appreciate [Earthly](https://cloud.earthly.dev/login) for efficient and consistent container-based builds. Why not dive in and explore its capabilities? -{% include_html cta/bottom-cta.html %} +{% include_html cta/docker-fundamentals-cta.html %} + diff --git a/blog/_posts/2023-05-17-github-actions-and-docker.md b/blog/_posts/2023-05-17-github-actions-and-docker.md index f71cfe7bd..43ce0d28f 100644 --- a/blog/_posts/2023-05-17-github-actions-and-docker.md +++ b/blog/_posts/2023-05-17-github-actions-and-docker.md @@ -214,4 +214,5 @@ In this tutorial, you learned how to create a new workflow, edit an existing wor And if you're looking to continue building out your GHA workflows, consider using [Earthly](https://cloud.earthly.dev/login). Earthly runs everywhere, including GitHub Actions and can improve the reliability of your CI/CD pipelines. It works great with [GitHub Actions](/earthly-github-actions) and docker. -{% include_html cta/gha-cta1.html %} +{% include_html cta/docker-fundamentals-cta.html %} + diff --git a/blog/_posts/2023-08-10-debugging-docker-containers.md b/blog/_posts/2023-08-10-debugging-docker-containers.md index f2af8a108..595eb156b 100644 --- a/blog/_posts/2023-08-10-debugging-docker-containers.md +++ b/blog/_posts/2023-08-10-debugging-docker-containers.md @@ -377,4 +377,5 @@ We began by understanding the challenges of debugging Docker containers, includi By following the techniques and commands outlined in this guide, developers can gain a comprehensive understanding of Docker debugging and enhance their troubleshooting skills. Remember to approach debugging systematically, using commands such as `docker ps`, `docker logs`, `docker exec`, `docker attach`, `docker stats`, `docker top`, `docker network inspect`, `docker exec -it ping`, and `docker exec -it nc`. With this knowledge, developers can confidently debug Docker containers, resolve issues efficiently, and ensure the smooth operation of their containerized applications. -{% include_html cta/bottom-cta.html %} +{% include_html cta/docker-fundamentals-cta.html %} +