What are Docker Extensions

Rate this content

Docker Extensions are a way to power up your development experience by adding in tools to help with debugging, testing, networking, security, and more. Developers can get started in Docker Desktop with partner-built extensions or use their creativity with the Docker Extensions SDK. This session will cover Docker Extensions and the Docker Extensions SDK — including a demonstration of Docker Extensions within Docker Desktop. You’ll also learn how to get started and what’s next for extensions.

6 min
21 Jun, 2022


Sign in or register to post your comment.

AI Generated Video Summary

Docker Extensions allow you to extend Docker Desktop's functionality, integrate workflows, and contribute to Docker Desktop. The Extensions SDK makes it easy to build extensions using React and TypeScript. The marketplace makes extensions easily discoverable, and a demo is available in Docker Desktop to install and explore extensions. Logs Explorer allows easy access and search of logs across all containers. Future plans include adding more extensions, improving the Marketplace experience, and gathering feedback from the community.

1. Introduction to Docker Extensions

Short description:

Docker Extensions allow you to extend Docker Desktop's functionality, integrate workflows, and contribute to Docker Desktop. The Extensions SDK makes it easy to build extensions using React and TypeScript. The marketplace makes extensions easily discoverable, and a demo is available in Docker Desktop to install and explore extensions. Disk Usage is one of the available extensions, allowing you to view and reclaim disk space with a few clicks.

Hello, my name is Aimee Bass and I'm a product manager at Docker. Today, I'd like to tell you about a new feature we developed for Docker Desktop called Docker Extensions. So, let's start with what are Docker Extensions? Docker Extensions are a way for you to take Docker Desktop and extend its core functionality and basically make it pluggable. We've already got you started by integrating with a range of partners to add in capabilities like scanning, debugging, testing, and more. It's also a way for you to take your team's workflows and power them up by integrating them into Docker Desktop and creating some automation around them.

If you have a problem you are trying to solve, you can also use our extension marketplace to discover new tools. Lastly, it's a way for you, the community, and our partners to contribute to Docker Desktop. We've opened up our Extensions SDK and can't wait to see what's created. Now, the Extensions SDK was built with developers' ease of use in mind. If you're familiar with building images, it shouldn't require a lot of effort. Within the SDK, we've made it possible for you to build extensions using React and TypeScript. We've also enabled hot reloading so you immediately see your changes reflected in Docker Desktop. With the Docker Material UI Theme that we've provided, you can easily replicate Docker's look and feel. We've also included an extension CLI to help with management and validation. And in our documentation, we've included both samples and tutorials to help get you started. Lastly, because Docker Extensions are available on all platforms, Windows, Mac, Linux, we've made it possible for you to build for all of them.

Alright, so let's see how to start using extensions available within Docker Desktop. We wanted to make them easily discoverable, so we've created a marketplace where you can install extensions with a single click. But rather than talking about it, why don't I give you a quick demo? Alright, so here we are in Docker Desktop. You'll see on the left-hand navigation there's a new section called Add Extensions. We can start exploring extensions we've included from our partners by clicking on that button Add Extensions. If you want to learn more about any specific extension that's available, all you have to do is click on the extension itself and you'll see a detailed explanation. Alright, so we're going to get started installing a few, and I'm going to pick a few of my favorites. We'll do Disk Usage, and Logs Explorer. And see I just had to singly click the extension to install it. Alright, sorry I got a little click happy there. So let's start with Disk Usage. It's a great way to view how your disk space is used, and you can reclaim space in just a few clicks, so let me show you how to do that. Alright, so here you can see my local volumes, it's at about two gigs, and I've got about 15 gigs of images. Now if I wanted to clean any of these up, all I have to do is click Reclaim Space, and select what I wanted to delete, and just hit that Delete button, and it's as simple as that.

2. Logs Explorer and Future Plans

Short description:

Logs Explorer allows easy access and search of logs across all containers. Filter by container and search for specific keywords. Additionally, there are more extensions available in the Marketplace. To get extensions, simply upgrade to the latest version of Docker Desktop. Future plans include adding more extensions, improving the Marketplace experience, and gathering feedback from the community.

Now we're going to move on to Logs Explorer, and this is a nice way to be able to access and search your logs across all of your containers. So here we can see I've filtered on all of my container's logs, I can go down to a single container, and all I have to do is type in a word, so we'll do Start, maybe I'm looking for All Start Events, and that's going to find everything within that container, or all containers, that has Start in the log itself. So it's as easy as that as well.

Lastly, before I leave Docker Desktop, I want to show you a few other links that we have. So if we go back into the Marketplace, you're going to see a link up top to give us feedback. We'd really love to hear from you, as well as over here you can find out how to build your own extension and get access to the SDK documentation in the SDK. All right, now there are plenty more extensions worth checking out, so you might be wondering how to get extensions. It's pretty easy. All you have to do is upgrade to the latest version of Docker Desktop for Mac, Windows, or Linux.

Okay, so let's talk about what's next for Docker extensions. First, we'll be adding more extensions. We've already been working with some new partners and are excited to see what the community will create. So check back often to see if new extensions have been added. Second, we plan to improve the Marketplace experience for both developers and publishers. We'll be adding the ability to search for extensions, extension categories, and a rating system in the near future. Lastly, we want to hear your ideas for what else we should do. We'll be listening to your feedback ideas from our community Slack channel, in-app feedback, and feedback left on the SDK repo. Alright, so wrapping up, here are a few links to resources I mentioned.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

React Advanced Conference 2021React Advanced Conference 2021
19 min
Automating All the Code & Testing Things with GitHub Actions
Code tasks like linting and testing are critical pieces of a developer’s workflow that help keep us sane like preventing syntax or style issues and hardening our core business logic. We’ll talk about how we can use GitHub Actions to automate these tasks and help keep our projects running smoothly.

DevOps.js Conf 2022DevOps.js Conf 2022
33 min
Fine-tuning DevOps for People over Perfection
Demand for DevOps has increased in recent years as more organizations adopt cloud native technologies. Complexity has also increased and a "zero to hero" mentality leaves many people chasing perfection and FOMO. This session focusses instead on why maybe we shouldn't adopt a technology practice and how sometimes teams can achieve the same results prioritizing people over ops automation
controls. Let's look at amounts of and fine-tuning everything as code, pull requests, DevSecOps, Monitoring and more to prioritize developer well-being over optimization perfection. It can be a valid decision to deploy less and sleep better. And finally we'll examine how manual practice and discipline can be the key to superb products and experiences.
DevOps.js Conf 2022DevOps.js Conf 2022
27 min
Why is CI so Damn Slow?
We've all asked ourselves this while waiting an eternity for our CI job to finish. Slow CI not only wrecks developer productivity breaking our focus, it costs money in cloud computing fees, and wastes enormous amounts of electricity. Let’s take a dive into why this is the case and how we can solve it with better, faster tools.

DevOps.js Conf 2022DevOps.js Conf 2022
31 min
The Zen of Yarn
In the past years Yarn took a spot as one of the most common tools used to develop JavaScript projects, in no small part thanks to an opinionated set of guiding principles. But what are they? How do they apply to Yarn in practice? And just as important: how do they benefit you and your projects?
In this talk we won't dive into benchmarks or feature sets: instead, you'll learn how we approach Yarn’s development, how we explore new paths, how we keep our codebase healthy, and generally why we think Yarn will remain firmly set in our ecosystem for the years to come.

DevOps.js Conf 2021DevOps.js Conf 2021
33 min
How to Build CI/CD Pipelines for a Microservices Application
Microservices present many advantages for running modern software, but they also bring new challenges for both Deployment and Operational tasks. This session will discuss advantages and challenges of microservices and review the best practices of developing a microservice-based architecture.
We will discuss how container orchestration using Kubernetes or Red Hat OpenShift can help us and bring it all together with an example of Continuous Integration and Continuous Delivery (CI/CD) pipelines on top of OpenShift.

Workshops on related topic

DevOps.js Conf 2022DevOps.js Conf 2022
152 min
MERN Stack Application Deployment in Kubernetes
Deploying and managing JavaScript applications in Kubernetes can get tricky. Especially when a database also has to be part of the deployment. MongoDB Atlas has made developers' lives much easier, however, how do you take a SaaS product and integrate it with your existing Kubernetes cluster? This is where the MongoDB Atlas Operator comes into play. In this workshop, the attendees will learn about how to create a MERN (MongoDB, Express, React, Node.js) application locally, and how to deploy everything into a Kubernetes cluster with the Atlas Operator.

DevOps.js Conf 2022DevOps.js Conf 2022
13 min
Azure Static Web Apps (SWA) with Azure DevOps
Azure Static Web Apps were launched earlier in 2021, and out of the box, they could integrate your existing repository and deploy your Static Web App from Azure DevOps. This workshop demonstrates how to publish an Azure Static Web App with Azure DevOps.

DevOps.js Conf 2022DevOps.js Conf 2022
163 min
How to develop, build, and deploy Node.js microservices with Pulumi and Azure DevOps
The workshop gives a practical perspective of key principles needed to develop, build, and maintain a set of microservices in the Node.js stack. It covers specifics of creating isolated TypeScript services using the monorepo approach with lerna and yarn workspaces. The workshop includes an overview and a live exercise to create cloud environment with Pulumi framework and Azure services. The sessions fits the best developers who want to learn and practice build and deploy techniques using Azure stack and Pulumi for Node.js.

React Summit 2023React Summit 2023
88 min
Deploying React Native Apps in the Cloud
Deploying React Native apps manually on a local machine can be complex. The differences between Android and iOS require developers to use specific tools and processes for each platform, including hardware requirements for iOS. Manual deployments also make it difficult to manage signing credentials, environment configurations, track releases, and to collaborate as a team.
Appflow is the cloud mobile DevOps platform built by Ionic. Using a service like Appflow to build React Native apps not only provides access to powerful computing resources, it can simplify the deployment process by providing a centralized environment for managing and distributing your app to multiple platforms. This can save time and resources, enable collaboration, as well as improve the overall reliability and scalability of an app.
In this workshop, you’ll deploy a React Native application for delivery to Android and iOS test devices using Appflow. You’ll also learn the steps for publishing to Google Play and Apple App Stores. No previous experience with deploying native applications is required, and you’ll come away with a deeper understanding of the mobile deployment process and best practices for how to use a cloud mobile DevOps platform to ship quickly at scale.