What are Docker Extensions

Rate this content
Bookmark

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.

This talk has been presented at JSNation 2022, check out the latest edition of this JavaScript Conference.

FAQ

Docker Extensions are tools that extend the core functionality of Docker Desktop, making it pluggable and integrated with capabilities like scanning, debugging, and testing. They allow customization of workflows and automation within Docker Desktop.

To use Docker Extensions, navigate to the 'Add extensions' section in Docker Desktop, where you can explore and install extensions from the marketplace with a single click.

Developers can build Docker Extensions using the Extensions SDK, which supports React and TypeScript. Docker also provides a Material UI theme for styling, and an extension CLI for management and validation.

New Docker Extensions can be discovered through the Extension Marketplace within Docker Desktop, where users can browse and install various extensions to enhance functionality.

Yes, Docker Extensions are available on all major platforms including Windows, Mac, and Linux, allowing developers to build and use extensions across different systems.

The Docker Extension CLI helps with the management and validation of Docker Extensions, facilitating easier development and maintenance of extensions.

Docker supports developers with an Extensions SDK, documentation, sample projects, and tutorials to help them get started with creating new extensions. Additionally, developers can use hot reloading to see changes immediately in Docker Desktop.

Future plans for Docker Extensions include adding more extensions, improving the marketplace experience with features like search functionality, extension categories, and a rating system, and incorporating community feedback to enhance the platform.

Feedback on Docker Extensions can be provided through the community Slack channel, in-app feedback options, and directly on the SDK repository, allowing Docker to gather user inputs for improvements.

Amy Bass
Amy Bass
6 min
21 Jun, 2022

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Docker Extensions allow users to extend Docker Desktop and integrate with partners, enhancing team workflows. The Extensions SDK simplifies extension development using React and TypeScript. Users can easily install extensions from the marketplace, such as Disk Usage and Logs Explorer, to manage disk space and search logs across containers. Docker Desktop users can upgrade to access these extensions and provide feedback to improve the marketplace experience.

1. Introduction to Docker Extensions

Short description:

Docker Extensions are a way for you to extend Docker Desktop and make it pluggable. You can integrate with partners, power up your team's workflows, and contribute to Docker Desktop. The Extensions SDK makes it easy to build extensions using React and TypeScript, with hot reloading and a Material UI theme. Documentation and tutorials are available to help you get started. Docker Extensions are available on all platforms.

Hello my name is Amy 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.

2. Using and Exploring Docker Extensions

Short description:

Learn how to start using extensions available within Docker Desktop. Install extensions with a single click from the marketplace. Explore and install extensions like Disk Usage and Logs Explorer. Easily view disk space usage, reclaim space, and search logs across containers. Upgrade to the latest version of Docker Desktop for Mac, Windows or Linux to get extensions. Docker Extensions will be adding more extensions, improving the marketplace experience, and seeking feedback from the community.

All right, 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.

All right, 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.

All right, 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. All right. 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.

All right, so here you can see my local volumes is 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. 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 containers 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 starter bins 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. Alright, 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

Levelling up Monorepos with npm Workspaces
DevOps.js Conf 2022DevOps.js Conf 2022
33 min
Levelling up Monorepos with npm Workspaces
Top Content
NPM workspaces help manage multiple nested packages within a single top-level package, improving since the release of NPM CLI 7.0. You can easily add dependencies to workspaces and handle duplications. Running scripts and orchestration in a monorepo is made easier with NPM workspaces. The npm pkg command is useful for setting and retrieving keys and values from package.json files. NPM workspaces offer benefits compared to Lerna and future plans include better workspace linking and adding missing features.
Automating All the Code & Testing Things with GitHub Actions
React Advanced 2021React Advanced 2021
19 min
Automating All the Code & Testing Things with GitHub Actions
Top Content
We will learn how to automate code and testing with GitHub Actions, including linting, formatting, testing, and deployments. Automating deployments with scripts and Git hooks can help avoid mistakes. Popular CI-CD frameworks like Jenkins offer powerful orchestration but can be challenging to work with. GitHub Actions are flexible and approachable, allowing for environment setup, testing, deployment, and custom actions. A custom AppleTools Eyes GitHub action simplifies visual testing. Other examples include automating content reminders for sharing old content and tutorials.
Fine-tuning DevOps for People over Perfection
DevOps.js Conf 2022DevOps.js Conf 2022
33 min
Fine-tuning DevOps for People over Perfection
Top Content
DevOps is a journey that varies for each company, and remote work makes transformation challenging. Pull requests can be frustrating and slow, but success stories like Mateo Colia's company show the benefits of deploying every day. Challenges with tools and vulnerabilities require careful consideration and prioritization. Investing in documentation and people is important for efficient workflows and team growth. Trust is more important than excessive control when deploying to production.
Why is CI so Damn Slow?
DevOps.js Conf 2022DevOps.js Conf 2022
27 min
Why is CI so Damn Slow?
Slow CI has a negative impact on productivity and finances. Debugging CI workflows and tool slowness is even worse. Dependencies impact CI and waiting for NPM or YARN is frustrating. The ideal CI job involves native programs for static jobs and lightweight environments for dynamic jobs. Improving formatter performance and linting is a priority. Performance optimization and fast tools are essential for CI and developers using slower hardware.
The Zen of Yarn
DevOps.js Conf 2022DevOps.js Conf 2022
31 min
The Zen of Yarn
Let's talk about React and TypeScript, Yarn's philosophy and long-term relevance, stability and error handling in Yarn, Yarn's behavior and open source sustainability, investing in maintenance and future contributors, contributing to the JavaScript ecosystem, open-source contribution experience, maintaining naming consistency in large projects, version consistency and strictness in Yarn, and Yarn 4 experiments for performance improvement.
Atomic Deployment for JS Hipsters
DevOps.js Conf 2024DevOps.js Conf 2024
25 min
Atomic Deployment for JS Hipsters
This Talk discusses atomic deployment for JavaScript and TypeScript, focusing on automated deployment processes, Git hooks, and using hard links to copy changes. The speaker demonstrates setting up a bare repository, configuring deployment variables, and using the post-receive hook to push changes to production. They also cover environment setup, branch configuration, and the build process. The Talk concludes with tips on real use cases, webhooks, and wrapping the deployment process.

Workshops on related topic

Deploying React Native Apps in the Cloud
React Summit 2023React Summit 2023
88 min
Deploying React Native Apps in the Cloud
WorkshopFree
Cecelia Martinez
Cecelia Martinez
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.
MERN Stack Application Deployment in Kubernetes
DevOps.js Conf 2022DevOps.js Conf 2022
152 min
MERN Stack Application Deployment in Kubernetes
Workshop
Joel Lord
Joel Lord
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.
Azure Static Web Apps (SWA) with Azure DevOps
DevOps.js Conf 2022DevOps.js Conf 2022
13 min
Azure Static Web Apps (SWA) with Azure DevOps
WorkshopFree
Juarez Barbosa Junior
Juarez Barbosa Junior
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.
How to develop, build, and deploy Node.js microservices with Pulumi and 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
Workshop
Alex Korzhikov
Andrew Reddikh
2 authors
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.