DockerCon 2022 – Docker https://www.docker.com Tue, 11 Jul 2023 19:52:55 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.2 https://www.docker.com/wp-content/uploads/2023/04/cropped-Docker-favicon-32x32.png DockerCon 2022 – Docker https://www.docker.com 32 32 DockerCon 2022: What You Missed, and What Attendees Loved https://www.docker.com/blog/dockercon-2022-what-you-missed-and-what-attendees-loved/ Tue, 17 May 2022 15:30:58 +0000 https://www.docker.com/?p=33628 The ship has officially sailed on the 14th edition of DockerCon! Your engagement during our keynote, sessions, and within our Community Rooms left us awestruck. Accordingly, our Docker Crew owes you a massive “thank you” for making DockerCon 2022 one of our biggest yet. 👏

However, we missed those of you who couldn’t attend. From workshops, to Docker announcements, to immersive talks on cloud-native development, to panel discussions, there was plenty to sink your teeth into. Here’s what you may have missed.

DockerCon 2022 by the numbers

DockerCon 2022 - View now

2022 meant global watch parties, international communities and Docker users around the world coming together for 8 hours of engaging, developer-obsessed educational content.

  • Over 50,000 virtual registrations
  • Over 11,000 people participated in our “Getting Started With Docker” workshops.
  • Over 23,000 chats posted in the chat rooms during the event
  • Attendees from almost 190 countries
  • 17-hour Spotify playlist built by attendees.
  • One massive Moby — built with approximately 18,500 Legos

We always aim to involve all developers in conversations around cloud-native development and industry trends. Accordingly, every live chat was positively buzzing with activity as our community showed its eagerness to lend a helping hand and keep the excitement going!

Noteworthy Announcements

Your feedback through GitHub, community Slack channels, and other outlets has helped us improve the developer experience. We used that feedback to program DockerCon 2022. Here’s what we covered, and what we’ve accomplished since last year.

Roundup: What’s New in Docker Desktop

We’ve poured massive development effort into feature additions for Docker Desktop. Our team has shipped many enhancements while iterating on Docker Desktop’s v4.8 branch (currently v4.8.1). Some quick, but mighty, highlights:

We’re thrilled to share these features with the community. However, they’re just the latest milestones on our packed roadmap. Stay tuned for more, and read along as we dissect some larger announcements!

Introducing Docker SBOM

docker sbom in action

A simple docker sbom [image name:version]command reveals your container image’s contents.

A sharpened focus on security has made container-image visibility more critical. Accordingly, knowing your image’s contents boosts security and trust. That’s where the Docker Software Bill of Materials (SBOM) helps immensely.

We first announced Docker SBOM back in early April. However, DockerCon 2022 let us showcase its functionality and importance for live viewers. Docker CTO Justin Cormack and Anchore’s Manager of Open Source Engineering, Dan Luhring, led this insightful discussion on image security.

To learn more about how SBOM works and our future development plans, check out this session from DockerCon and view our documentation.

Docker Extensions Lightning Talks

Eric Smalling discusses his experiences with package vulnerabilities.

Eric Smalling discusses his experiences with package vulnerabilities.

Likewise, we wanted our evolving Docker Extensions feature and our partners to shine at DockerCon 2022. Our Extensions Lightning Talks helped showcase the useful technologies that external teams have been working hard on.

Accordingly, presenters Eric Smalling (Snyk), Daniel Bryant (Telepresence), Anais Urlichs (Trivy), Lee Calcote and Nic Jackson (Meshery), Stevan Le Meur (Red Hat OpenShift), plus Melissa McKay and Damian Curry (JFrog) led discussions on their respective extensions. Each brief demo showcased how developers can boost their productivity — all without leaving Docker Desktop.

To learn more about Docker Extensions and upcoming partner extensions, check out this engaging group session.

The Viewers Have Spoken: Your Favorite Sessions

DockerCon 2022 truly had something for everyone regardless of occupation, tech stack, or experience level. However, we noticed that some sessions really grabbed your attention! Here are some talks that kept attendees glued to their screens.

Docker and Web 3.0 – Using Docker to Utilize Decentralized Infrastructure and Build Decentralized Apps

Watch Here 🎥

Web 3.0 — or web3 — promises to be an exciting, open, and decentralized standard for delivering connected web experiences to users. Accordingly, Storj Labs’ dynamic trio of JT Olio, Marton Elek, and Krista Spriggs kicked off festivities within the Excel track. There’s a growing demand for decentralized systems across our cloud-native landscape.

Recognizing this, JT and crew dove into the underpinnings of their own decentralized infrastructure — while highlighting Docker’s contributions and importance throughout an industry-wide transition. If you want to tackle the pesky question, “What exactly is web3?” then look no further. You’ll also learn how containers, blockchains, and decentralization can benefit developers right now.

Quickly Creating a Production-Ready API Using FastAPI and Docker…Explained with Memes

Watch Here 🎥

Sebastiàn Ramírez dazzled us with a duo of memes and technical information in the Learn track. Python remains one of today’s leading programming languages. With usage growing in lockstep with web-app development, developers are seeking tools that let them leverage Python’s power with minimal effort. Enter FastAPI.

Sebastiàn highlights how popular the FastAPI web framework has become, and the proof is in the pudding. Not only does it have over 40,000 GitHub stars, but large microservices providers like Microsoft, Uber, and Netflix rely on it. You’ll learn how FastAPI’s standards-based approach plays well with Docker. Accordingly, he discusses how both technologies team up to streamline your Python development workflows.

Kelsey Hightower and Scott Johnston Fireside Chat

Watch Here 🎥

There are few in the industry who’ve seen trends come and go, or development practices evolve, like Kelsey Hightower and Docker CEO Scott Johnston. The pair reflected on how far the industry has come in the past decade, and how the current landscape of services has progressed.

Kelsey and Scott dissected topics ranging from reaching developer consensus to the growing complexity of software development. The live chat buzzed in agreement  as Kelsey stressed the importance of user-centric application design. “Just because we’re developing for faraway users doesn’t mean we have to sacrifice the human element behind every service.”

If you’re looking to learn more about modern software development and Docker’s supporting role, tune in ASAP.

Building Observability for the 99% Developers

Watch Here 🎥

Last but not least, Akita Software’s Jean Yang captured hearts and minds with her straightforward chat on observability. Viewers raved that Jean’s session was the best they’d seen all day — which tackled everything from tooling, to testing, to bridging common development gaps.

Jean expanded on how flexibility and tooling efficacy are critical. Speaking from her experiences while designing programming languages, she offered unique takes on cloud-native software development lifecycles. You’re invited to dive in and learn how best practices have evolved — and the key implications of those changes.

Looking Ahead

We had a blast with you throughout each day of DockerCon 2022. Thanks to all who participated, and those of you who are interested in catching up! This recap is just the tip of the iceberg. DockerCon 2022 brought a massive amount of developer-centric content, Docker community announcements, and playful segments with hosts Kat Speer and Shy Ruparel.

Accordingly, we’re looking forward to seeing you at our next DockerCon! Keep your eyes peeled for upcoming announcements, and continue doing what you do best: building amazing applications.

]]>
Docker Extensions: Discover, Build & Integrate New Tools into Docker Desktop https://www.docker.com/blog/docker-extensions-discover-build-integrate-new-tools-into-docker-desktop/ Tue, 10 May 2022 14:59:48 +0000 https://www.docker.com/?p=33367 Today, we’re announcing the beta release of Docker Extensions and the Docker Extensions SDK. Docker Extensions let you build new functionality into Docker Desktop, extend its existing capabilities, and discover and integrate additional tools. 

Docker Extensions Marketplace Launch

Who Can Use Docker Extensions

Anyone can freely use Docker Extensions on each of our subscriptions: Personal, Pro, Team, and Business. All you need is the latest version of Docker Desktop.

Why Use Docker Extensions


We know that as a developer, you use many tools to do your job. We also know that new tools are emerging daily to help you code, debug, and deploy quicker. Our goal, to make developers lives easier, led us to create Docker Extensions. Docker Extensions let you integrate your favorite tools and simplify workflows directly in Docker Desktop. Extensions include a Marketplace, highlighting extensions that work well with Docker. 

Why Build Docker Extensions

Alongside numerous Docker and partner-built Extensions, we’ve also released our beta SDK, to all developers. With the SDK, you’re able to simplify your team’s workflows — by creating new automations that integrate both your own tools and external tools into Docker Desktop. Extensions are packaged as specially formatted Docker images and are easy to get started with. We would love for you to try out one of the tutorials and to give us feedback!

What Extensions are Available

Together with our Extension launch partners, we’re introducing 16 Docker Extensions that you can start using today. More are coming in the near future! 

Docker Extensions Launch Partners

 

Docker Extensions for Kubernetes

  • VMware Tanzu Community Edition: Quickly spin up a Tanzu Kubernetes cluster to  deploy and manage your applications within it.
  • RedHat OpenShift: Deploy Docker images to OpenShift
  • Ambassador Labs Telepresence: Develop and test your Docker containers with Kubernetes
  • SUSE Rancher Epinio: Push from source to Kubernetes in one step

Docker Extensions for Secure Software Supply Chain

  • Snyk: Scan your remote or local image and detect any hidden vulnerabilities.
  • Anchore: Analyze the content and security of your container images.
  • JFrog: Scan your Docker images for vulnerabilities with JFrog Xray.
  • Trivy: Run unlimited vulnerability scans against remote or locally-stored images.
  • EverX Gosh: Build your decentralized and secure software supply chain with Docker and Git On-chain Source Holder (GOSH)

Additional Docker Extensions

  • Okteto: Remotely develop using Docker Compose
  • Tailscale: Connect your Docker containers to your secure private network.
  • Uffizzi: Create and manage full-stack previews in the cloud with Docker Compose.
  • Portainer: Richly manage your containers using Portainer.
  • Layer5 Meshery: Design and operate your cloud-native deployments with the extensible management plane, Meshery.

Extensions built by Docker

  • Disk Usage: View Docker’s disk-space consumption and what it’s used for. Reclaim disk space in one click.
  • Logs Explorer: View and search logs across all your containers

How to Get Started

Docker Extensions (Beta) ships with Docker Desktop 4.8.0+. Follow these links to download and install Docker Desktop 4.8.0+:

To add Docker Extensions:

  1. Open Docker Desktop.
  2. From the Dashboard, select Add Extensions in the menu bar.
  3. Browse through the available extensions in the Marketplace.
  4. Click Install. 

From here, you can click Open to access the extension or install additional extensions. Your new extension also appears in the menu bar.

Docker Desktop is continually evolving. Check out our current feature requests, open your own Desktop issues, and even vote on features you’d like to see via our public roadmap. Your feedback means everything, and we’d love to hear your thoughts.

]]>
DockerCon 2022: Key Themes and Learning Outcomes https://www.docker.com/blog/dockercon-2022-key-themes-and-learning-outcomes/ Wed, 04 May 2022 21:24:10 +0000 https://www.docker.com/?p=33333 DockerCon 2022 is less than one week away, from May 9th-10th! Our developer community is the shining star at DockerCon, and we’re thrilled to deliver immersive learning experiences from start to finish. (Register here to attend our virtual event.)

 

Hero Session 1920 x 1080 Update A

 

DockerCon will feature over 50 talks and learning sessions that you can freely navigate between. Shy Ruparel’s “Getting Started with Docker” workshop on May 9th is also a fantastic outlet for exploring Docker technologies. We’re hoping you leave DockerCon with deeper knowledge of cloud-native application development — while feeling empowered to conquer coding gremlins, or tackle your next big project.

Let’s dive into what you can expect at DockerCon 2022.

Content by Developers, for Developers

DockerCon 2022 is all about developer education. Developers who have ample experience with — and love for — the technologies they use daily are eager to share their expertise.

These talks go beyond just explaining the “what.” Each presenter will show you how to collectively leverage today’s top programming languages, Docker products, and other tools to create capable applications — all while avoiding development obstacles.

Plus, you’re encouraged to live chat and have fun — and optionally join hosts Kat and Shy for live games and raffles. DockerCon helps you connect with fellow community members as you embark on these journeys together! These include:

  • Interactive demos covering everything from the basics to expert-level technical concepts
  • Talks that assess development best practices and lessons learned from each speaker’s past experiences
  • Insights from industry leaders, instructors, and expert panelists who’ve solved many common development problems
  • Cool tips and tricks
  • Vibrant-and-friendly support from fellow community members and presenters alike
  • Engaging networking opportunities
  • Exciting, educational content on Docker’s latest technologies, features, and products

 

Next, let’s touch on some recurring focus areas throughout DockerCon.

Session Tracks and Themes

To help you easily explore our virtual event, we’ve divided all sessions amongst four tracks — Discover, Learn, Excel, and Connect — based on topic and learning outcomes. You’ll stumble across tailored content for all interests and skill sets.

Here’s what our workshops and presentations will cover:

  • Getting Started – You’ll discover tips and best practices for tackling Docker application development with Python, JavaScript, Java, or TypeScript (and others). You’ll also explore local app development using Docker Compose or Kubernetes for numerous application types — both backend and frontend. 
  • Dev Team Productivity – You’ll uncover best practices, case studies, and cloud-development patterns that’ll help you accomplish more, faster. Accordingly, we’ll share how Docker Development Environments can boost collaboration. 
  • Securing the Software Supply Chain – Today’s applications consist of many components and tools. You’ll learn about build pipeline best practices, shift-left testing, Docker Official Images, and associated security implications. 
  • Modernizing Monoliths – ASP.NET and J2EE apps are popular, but many can use some sprucing up for the cloud-native age. You’ll learn how to modernize these applications. 
  • The Bleeding Edge – A number of emerging application types and patterns are taking the development world by storm. You’ll explore technologies like serverless FaaS, blockchain, Web3, and WASM — and their connection with Docker technologies.
  • Blackbelt and Cool Hacks – If you’re hungry for low-level, technical walkthroughs that touch on advanced container management, security, and networking, these are can’t-miss sessions.

 

Additionally, our schedule page lets you filter talks by track or tag — letting you easily identify talks that matter to you. We can’t wait to help you grow as developers and Docker community members.

Register for DockerCon 2022

Our DockerCon agenda is packed with value — regardless of your background or how much development experience you’re bringing with you. You’re invited to grab a seat and bounce between virtual sessions however you’d like. If you’re unable to attend a session, you can easily circle back and watch each recording at your own pace.

DockerCon 2022 is right around the corner. Register for free today to learn about the latest trends in cloud-native development. We also encourage you to spread the word to fellow developers — and perhaps even organize your own DockerCon watch party with other registered attendees!

]]>
DockerCon 2022 Mainstage: Exciting Keynote Talks, Speakers, and More https://www.docker.com/blog/hitting-the-mainstage-exciting-keynote-talks-speakers-and-more-at-dockercon-2022/ Wed, 27 Apr 2022 20:57:29 +0000 https://www.docker.com/?p=33214 Dock Cousteau character scans the seas with binoculars.

 

DockerCon 2022 is less than two weeks away on May 9th-10th! DockerCon offers a fantastic chance to engage with tens of thousands of fellow developers. We can’t wait to see what you’ve been working on. (Register here to virtually attend our interactive event.)

That’s not all! Our Docker crew has some exciting things to share in a variety of formats. Join us on the Mainstage for our keynote address, live demos, cool hacks, a special fireside chat, and lightning talks. Additionally, hosts Kat Speer and Shy Ruparel will amplify the conversation through snappy commentary and live responses to your call outs on social media (don’t forget to use the #dockercon hashtag!).

Follow along to find out what’s in store during our Mainstage sessions.

Keynote Address

From 8:00 a.m. to 9:00 a.m. PDT, on the Mainstage

 

CEO Scott Johnston will kickstart DockerCon 2022 with some exciting announcements and teasers on what’s to come. Tune in as Scott discusses common developer challenges, Docker technologies, and the innovative strides we’ve made together over the past year — plus what’s in store for Docker’s future. Docker’s product managers will discuss the latest releases and features, and our customers will be front-and-center to share their experiences.

We’re always immensely interested to learn how organizations are tackling their biggest challenges. Companies across numerous industries have deployed faster at scale with Docker technologies, and their teams have also enjoyed better collaboration. On the Mainstage, Scott will welcome two customers who’ve accomplished some pretty impressive things throughout their development journeys. 

Successfully deploying rich, interactive games to the masses is especially challenging. Few understand this challenge like Brian Jackson, Senior Engineering Manager at ILMxLAB, Lucasfilm’s in-house gaming studio. The creative outfit has released popular titles like Vader Immortal and Tales from the Galaxy’s Edge. Follow along as Brian shares his team’s development efforts from start to finish — and how Docker has helped ILMxLAB deliver virtual experiences to global audiences.

Rapid7’s Kris Rivera, Principal Software Engineer will also take the stage to discuss his company’s push for security and scalability. Containerization and Docker’s tools have been pivotal in this effort — and in helping Rapid7’s teams streamline common workflows. You’ll also learn how the Boston software vendor has used automation to successfully deliver strengthened cybersecurity to its customers. 

Fireside Chat with Kelsey Hightower

From 10:30 a.m. to 11:00 a.m. PDT, on the Mainstage

Kelsey Hightower and Scott Johnston side-by-side

 

 

 

 

 

 

 

 

 

Get cozy with Kelsey Hightower, Software Engineer, Developer Advocate, and Minimalist, and Scott Johnston as the duo sits down for a casual conversation about cloud-native development. Both Scott and Kelsey will tackle questions about where the industry is headed, the future of application development, and how developer obsession plays a key role in improving experiences for everyone.

This open-ended chat will address numerous themes, from low-code development to software supply chains. Speaking from his unique perspective as a 20-year IT veteran, Kelsey is eager to share his thoughts on ecosystem development, popular technologies (Docker included), and any lessons he’s learned at each stop during his career. You won’t want to miss this frank-and-introspective discussion on the state of today’s software industry.

What’s New in Docker Desktop?

From 9:15 a.m. to 9:45 a.m. PDT, on the Mainstage

 

Join Steph Rifai as she guides you through Docker Desktop’s next big milestone: the launch of Docker Desktop for Linux (DD4L). During a step-by-step live demo, Steph will show you how to use DD4L, and how its core features help you accomplish more with less effort.

If you’re ready to enjoy easier collaboration and smoother workflows all without having to leave Docker Desktop’s interface, you won’t want to miss these special announcements! Can’t wait to get your hands on Docker Desktop for Linux in the meantime? Feel free to download and install our DD4L Beta

Docker Extensions and Extensions Lightning Talks

From 11:45 a.m. to 12:45 p.m. PDT, on the Mainstage

 

It’s official: Docker Extensions are coming to Docker Desktop! These community-and-partner developed add-ons within Docker Desktop unlock expanded functionality without requiring you to hop between windows. Docker Extensions keep you within Docker Desktop and help you harness it how we’ve always intended — as a one-stop, all-inclusive development platform that makes development more enjoyable. 

Additionally, tune in to learn more about our Extensions SDK! You’ll learn how to leverage the SDK to build powerful extensions for your team, and how to contribute to Docker’s community. We’re really thrilled about Docker Extensions, and can’t wait to showcase their true potential during these quick lightning talks.

Want to learn more in the meantime? Check out our Docker Extensions introduction video with Amy Bass (Senior Product Manager) and Guillaume Tardif (Staff Software Engineer):

 

Register for DockerCon 2022!

Our agenda for DockerCon 2022 is packed with value — regardless of your background or how much development experience you’re bringing with you. Our keynote speakers will touch on numerous topics relevant to the cloud-computing industry throughout the day. You’re invited to grab a seat and swing by our Mainstage during this virtual event on May 10th!

DockerCon 2022 is fast approaching. Register for free to enjoy these exciting talks and much, much more as we dive deeply into today’s leading technologies. Don’t miss it!

]]>
Using Awesome-Compose to Build and Deploy Your Multi-Container Application https://www.docker.com/blog/using-awesome-compose-to-build-and-deploy-your-multi-container-application/ Thu, 21 Apr 2022 16:57:34 +0000 https://www.docker.com/?p=33148 In my last blog, I showed you how to get up and running with Docker Desktop. While we briefly introduced you to every major component bundled within Docker Desktop, it’s now time to drill a little deeper. In this blog, you’ll learn how to use one of our most-popular tools: Docker Compose. We’ll discuss what Docker Compose does, dive into Docker’s awesome-compose GitHub repository, and show you how to deploy a sample React application with a Spring backend and MariaDB database.

What is Docker Compose?

Docker Compose is a tool that helps you run multi-container applications. With Compose, you use a YAML file to configure your services. Here are some key benefits of Docker Compose:

  • Simplified management of multiple environments through project names, which provide isolation
  • Data-loss prevention, by automatically copying data from previous container runs to new ones
  • Faster creation times, by only updating containers that have changed since the last run
  • Easy app portability between environments using defined environment variables

You can read more deeply about these features on our Compose documentation page.

Use Cases

Docker Compose has use cases in development, testing, and single-host production environments:

  • Development environments: Compose helps developers easily test their development environment by orchestrating the application in an isolated environment. This is achieved by specifying all application dependencies within the Compose file.
  • Automated testing environments:  Like with development environments, Compose lets developers easily create isolated testing environments for their applications. This helps with shift-left testing, which is common to CI/CD. These isolated test environments are easily destructible once testing is finished.
  • Single host deployments: Developers can re-use their Compose file — with some changes — in specific cases such as single-server deployments. This helps developers partially re-use their local development workflows in production.

We’ll focus on using Docker Compose to locally orchestrate and run your multi-container applications, to simplify testing. Docker Compose relies on Compose files to work effectively. So, how do you use them?

Using a Compose File

There are three main steps to using a Compose file:

  1. Define your app environment with a Dockerfile so that it’s reproducible anywhere.
  2. Define your app’s services within docker-compose.yml, so they can run together in an isolated environment.
  3. Enter the docker compose up command. This starts and runs your entire app.

What is Awesome-Compose?

If you view a sample Compose file, it appears pretty simple for basic applications. However, it can quickly grow complex as you add more services to your application. To boost your productivity and get you started with Docker Compose, we maintain a GitHub repository called awesome-compose.

Awesome-compose is a curated collection of Docker Compose samples. These samples offer a starting point for services integration using a Compose file — and for managing their deployment with Docker Compose. They’re geared towards your local development environment and aren’t recommended for production workflows. However, awesome-compose provides you with a great starting blueprint, and is designed to save you development time and effort.

What does that look like in practice?  Let’s take a sample application and build a simple React app with a Spring backend and a MariaDB database. MariaDB is preferable over MySQL, since it’s compatible with AMD64 and ARM64 architecture.

Our Sample Application

Creating a Simple, non Container-Based Application

Let’s first create a sample “Hello from Docker” React application. To create a sample React application, type the following in your terminal:

npx create-react-app my-app

This creates a basic React application. You can now hop into your application folder and edit App.js to your liking. For the purposes of this guide, here’s a quick example:

function App() {

  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        Hello from Docker 
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

After making any changes (in our case, choosing to print “Hello from Docker”), use the npm start command to view the React application. Here’s how that looks:

React Port 3000

As you can see in the address bar, this application runs on port 3000.

Creating a Similar Multi-Container Application

Let’s say that you’re developing a similar application with a React frontend, a Spring (Java) backend, and a MariaDB database. This requires some additional steps. You’d want to use containers in this situation, because those containers package code and all dependencies into a single unit. This lets an application run quickly and reliably from one computing environment to another.

For simplicity’s sake, let’s say that this app needs one container for the frontend, one for the backend, and one for the database. This is a perfect opportunity for us to use react-java-mysql sample application from our awesome-compose GitHub project. As mentioned earlier in the blog,  MariaDB is preferable over MySQL, since it’s compatible with AMD64 and ARM64 architecture. However, you can use either by changing your DB image source in your Compose file. The process is as simple as changing a single line. 

To use awesome-compose, you’ll need to install Docker and Docker Compose on your machine. We also recommend installing Docker Desktop. This provides some added productivity benefits that you’ll soon learn more about.

The project structure of this sample application can be divided into the backend, frontend, database, and the Docker Compose file. The folder directory looks like this:

Folder Directory

Similarly, the Docker Compose file (docker-compose.yaml) consists of three services:

  • Backend
  • Frontend
  • DB

While examining the Compose file, you’ll see the following code:

frontend:
    build: frontend
    ports:
    - 3000:3000

Docker Compose is mapping port 3000 of the frontend-service container to host port 3000.

Deploying with Docker Compose

To deploy your sample application, navigate to the react-java-mysql file directory by using these two git commands: 

git clone https://github.com/docker/awesome-compose
cd react-java-mysql

If you want to download only react-java-mysql, enter the following commands:

git clone \
  --depth 1  \
  --filter=blob:none  \
  --sparse \
https://github.com/docker/awesome-compose \;

cd awesome-compose

git sparse-checkout set react-java-mysql 
cd react-java-mysql

The Docker Compose file is located within this folder. Next, enter the following into your terminal:

docker compose up -d


This jumpstarts multi-stage container deployment on your local machine. Since it’s the first time you’re running the containers, the process may take a few moments. Thankfully, only changed containers will update the next time you run this application. The rest is cached, dramatically shortening the testing phase between changes. Once you’ve finished, you should see a terminal output similar to this:

Terminal Output

It’s important to enter docker compose instead of docker-compose. We’re using Docker Compose V2 to build the application, which has introduced some basic syntax changes. You can read more about this transition in our documentation.

Want to see what’s currently active? You can summon a list of running containers with the docker ps command. This outputs the following:

image 2

Visualizing your containers is even easier within Docker Desktop, via the Dashboard:

Container Vis

The Docker Dashboard doesn’t only display running containers belonging to your multi-container Compose application. It also lets you easily start, pause, stop, or delete any container. Additionally, Docker Desktop lets you manage a particular container via CLI commands.

From the Docker Dashboard, you can click the “Open in Browser” button to open the localhost. You can alternatively navigate to it directly within your browser.

Docker Dashboard

Since your application is running on port 3000, you’ll see the following:

React LocalHost

To stop or delete the application, you can use the Docker Desktop interface shown below:

Delete App


Finally, you can always use the
docker compose down command to achieve the same result.

Key Takeaways

Congratulations! You now know the basics of using Docker Compose and the awesome-compose Github repository. Both tools can also accommodate deployments that are more complex — as shown while running a multi-container application from the awesome-compose repository.

The awesome-compose repository is created to give you an easy starting point for building your multi-container applications. You also learn how you can visualize and control your multi-container applications in the local development environment using Docker Desktop.

You can also contribute to the awesome-compose library! If you’re interested in helping our community better leverage Docker Compose, please follow our Contribution Guide. You’ll receive assistance with making your pull requests and getting those sample applications live.

Join us for DockerCon 2022!

Want to learn more about cloud-native development, and how Docker’s tools can help? Join us at DockerCon2022 on Tuesday, May 10. 

DockerCon is a free, one-day virtual event geared towards developers and development teams who are building the next generation of modern applications. We invite you to come discover more, learn more, excel within your role, and connect with thousands of your fellow tech community members. DockerCon is right around the corner, so register today!

]]>
Sponsor Spotlight: Check Out These 4 Engaging Talks at DockerCon 2022 https://www.docker.com/blog/sponsor-spotlight-check-out-these-4-engaging-talks-dockercon-2022/ Wed, 20 Apr 2022 22:26:08 +0000 https://www.docker.com/?p=33138 Docker's Ukraine-colored ship sails the open seas.

DockerCon 2022 is fast approaching, and we’re thrilled to feature some of cloud computing’s biggest names on stage May 10th. Sponsors have contributed massively to our success, and we’re excited to have them help you along your development journey. Our own Ira Casteel, Senior Product Marketing Manager – Partners and Alliances, explains: 

“Docker continuously strives to provide developers with solutions that make their jobs easier and simplify complexities. Our Partners help make this a reality, working with us to remove the busy work and integrate tools, so developers can focus on innovation and spend less time doing everything else.”

That said, here are some informative sponsor talks worth sinking your teeth into — and how to view them.

1) Master the Container Security Model

Presented by Sysdig – 1:00 p.m. to 1:30 p.m. EDT, within #Learn

If there’s one thing Sysdig’s Guillermo Palacio Oto champions, it’s container security. Follow along as Guillermo shares his essential best practices and tips for galvanizing your containers and image builds. You’ll learn about optimizing your security posture — while understanding how privilege escalation, credential leaks, unused packages, and large attack surfaces can pose risks.

Sysdig shares that 75% of container images contain vulnerabilities deemed either “critical” or “high risk,” but there’s good news: these vulnerabilities are patchable and preventable. Tune in to discover the critical steps you should take to stop these vulnerabilities in their tracks.

2) End-to-End AI Developer Journey with Containerized Assets Using Intel

Presented by Intel – 1:30 p.m. to 2:00 p.m. EDT, within #Excel

As a Cloud Software Architect at Intel, Vaghesh Patel has been integral to bringing Intel’s DevCatalog, DevCloud, and Distribution of OpenVINO Toolkit to backend developers. Vaghesh will divulge his tricks of the trade to download containerized assets, customize and build AI applications, then deploy them atop capable hardware.

You’ll also discover how these user-friendly platforms and workflows help optimize painstaking development processes. Lastly, Vaghesh will share how to integrate AI model training with leading frameworks — like TensorFlow and PyTorch. If you’re an AI engineer who values tackling projects efficiently and without friction, you won’t want to miss this one!

3) Creating Production-Ready Containers: What Devs Need to Know to Secure Their Containers

Presented by Slim.ai – 2:30 p.m. to 3:00 p.m. EDT, within #Discover

The team at Slim.ai has long made it their mission to simplify the process of choosing the right Docker container for your projects. They’ve also focused heavily on promoting development best practices, container discovery, and build transparency. In this engaging talk, Technical Staffer Evan Harris will help you solve the mystery behind deploying containerized apps in production — a tricky process for most developers.

Follow along with Evan’s demo as he discusses deployment best practices, optimal image sizing, build speed, and the importance of security. While no approach is perfect, Harris will share how multiple approaches to container hardening stack up against one another. By understanding these tradeoffs, you’ll be much better equipped to ship confidently, efficiently, and securely.

4) How to Find the Best Security Workflow that Actually Works for Your Team

Presented by Snyk – 4:00 p.m. to 4:30 p.m. EDT, within #Learn

Despite security’s crucial role in containerized development, there’s no denying how challenging or confusing it is for teams to implement. Everyone has their own approach, and organizations are constantly looking to balance development pace with security. How do we tackle this problem?

Dive in as Snyk Product Manager, Hadar Mutai, analyzes these common paint points — helping you develop secure, performant applications in a Docker environment. Hadar will show you how to transform the security conversation from intimidating to exciting. You and your teams will benefit greatly from stronger security, and adhering to best practices will help boost overall application build quality.

Want to see more? Register today!

We couldn’t be happier with our sponsor lineup for DockerCon 2022, but we’re even more thrilled to hear how much you’ve learned from each discussion. Our sponsors host just some of many deep, technical talks, and presentations on cloud-native development. And come back to our blog next Wednesday to learn more about our speaker lineup!

DockerCon 2022 is right around the corner. Register now for free to attend our Day-Zero Pre-Event Workshop on May 9th, followed by our May 10th main event. You’ll learn the basics to get up and running with Docker — plus how it meshes with today’s top programming languages to help you build, ship, and deploy modern applications.

]]>
Topic Spotlight: Here’s What You Can Expect at DockerCon 2022 https://www.docker.com/blog/what-you-can-expect-at-dockercon-2022/ Wed, 13 Apr 2022 19:02:47 +0000 https://www.docker.com/?p=33090

With less than one month to go before DockerCon 2022, we’re excited to unveil one of our most immersive agendas yet. We’re also planning to offer multiple tracks throughout the day — allowing you to jump between topics that grab your attention.

DockerCon 2022 is hosted virtually and will be streamed live. If you haven’t registered, we encourage you to join us May 9th and 10th for two free days of concentrated learning, skill sharpening, collaboration, and engagement with fellow developers.

Social_Twitter Horizontal Submarine

DockerCon brings together developers, Docker Community Leaders, Docker Captains, and our partners to boost your understanding of cloud-native development. But, we’re also excited to see how you’ve incorporated Docker into your projects. We want to help every developer discover more about Docker, learn how to conquer common development challenges, and excel within their respective roles.

That said, what’s in store? Follow along as we highlight what’s new this year and showcase a few can’t-miss topics.

What’s new at DockerCon 2022

We’re keeping things fresh and interesting by having our presenters connect with the audience and participate in live chats throughout the event. Accordingly, you’ll have the opportunity to chat with your favorite presenters. Here’s what you can look forward to (including some cool announcements):

Day-Zero Pre-Event Workshop

May 9th — from 7:00 a.m. to 10:00 a.m. PDT, and later from 4:00 p.m. to 7:00 p.m. PDT.

We want developers of all experience levels to get up and running with Docker as quickly as possible. Our instructor-led course will outline how to build, share, and run your applications using Docker containers. However, even developers with some Docker experience may learn some useful tips. Through hands-on instruction, you’ll discover that harnessing Docker is simple, approachable, and enjoyable.

We’re also introducing early learner demo content. Stay tuned for useful code samples, repo access, and even information on useful extensions.

Engaging Sessions

DockerCon 2022 opens with a fun, pre-show countdown filled with games and challenges — plus a live keynote. You’ll then be free to explore each session:

  • Mainstage – Live stream with engaging, center-stage talks on industry trends, new features, and team-building, plus panel sessions — with live hosts to guide you through your DockerCon experience.
  • Discover – Development tips and ways to incorporate tech stacks with Docker
  • Learn – Walkthroughs for deploying production environments, discussing best practices, and harnessing different programming languages
  • Excel – Detailed guidance on using containers, Docker, and applying workflows to emerging use cases
  • Blackbelt – Code-heavy, demo-driven walkthroughs of advanced technologies, Docker containerization, and building integrated application environments

DockerCon 2022 will also include a number of demos and chats about industry trends. You’ll get plenty of news and keep current on today’s exciting tech developments.

Each session spans 15 to 60 minutes. Feel free to move between virtual rooms as often as you’d like! You can view our complete agenda here, and all sessions are tagged for language and topic.

Exciting Announcements and Highlights

While DockerCon 2022 will feature a diverse topic lineup — all of which are immensely valuable to the community — we’d like to briefly showcase some topics that we find particularly noteworthy.

Introducing Docker SBOM

While we’re quick to implement containers and software tools to accelerate application development, we often don’t know each package’s contents in great detail. That can be a problem when using unverified, third-party images — or in any instance where component transparency is desirable.

Accordingly, we’ll be presenting our Software Bill of Materials (SBOM): a new way to generate lists of all container image contents. This is possible with a simple CLI command. The SBOM is useful from a security standpoint, yet it also allows you to better understand how your applications come together. Follow along as we show you how to summon your specific Docker SBOM, and why that information is so useful.

Using Python and Docker for Data Science and Scientific Computing

If you’re someone with a strong interest in machine learning, data science, and data-centric computing, you won’t want to miss this one. Researchers and professionals who work with big data daily have to perform a number of resource-intensive tasks. Data analysis is taxing, and restricting those processes to hardware that can only be scaled vertically is a massive challenge.

Scalable, containerized applications can solve this problem. If you want to learn more about optimizing your image builds, bolstering security, and improving Docker-related workflows, we encourage you to swing by this session.

From Legacy to Kubernetes

For newer developers and even experienced developers, setting up Kubernetes effectively can be a challenge. Configuration takes time and can feel like a chore. You have to memorize plenty of components, and understand how each impacts your implementation over time.

This presentation will show you how to spin up Kubernetes using Docker Desktop — our GUI-based platform for building, shipping, and deploying containerized applications. Built atop Docker Engine, one standout of Docker Desktop’s feature set is the ability to create a single, local Kubernetes cluster in one click.

Follow along as we dive into the basics of Kubernetes, moving legacy apps into containers, and implementing security best practices

Register Today!

We couldn’t be more thrilled to kick off DockerCon 2022. It’s our largest event of the year! More importantly, however, DockerCon allows you to meet and interact with tens of thousands of other developers. There’s plenty of conversation to be had, and we guarantee that you’ll learn a thing or two along the way. We’ll feature some informative sessions, casual chats, and even unveil a few surprises!

Registering for DockerCon is quick, easy, and free. Please visit our registration page to sign up and learn more about the awesome things coming at DockerCon 2022!

]]>
3 Software Developer Trends You’ll Hear About at DockerCon https://www.docker.com/blog/3-software-developer-trends-youll-hear-about-at-dockercon/ Thu, 07 Apr 2022 18:36:45 +0000 https://www.docker.com/?p=33008

Join us for DockerCon2022 on Tuesday, May 10. DockerCon is a free, one day virtual event that is a unique experience for developers and development teams who are building the next generation of modern applications. If you want to learn about how to go from code to cloud fast and how to solve your development challenges, DockerCon 2022 offers engaging live content to help you build, share and run your applications. Register today at https://docker.events.cube365.net/dockercon/2022

Register for DockerCon2022

The world of software development moves fast and is always changing. It’s why continuous learning is so important — and why it’s essential to invest the time to keep up with the latest techniques, technologies, and, sadly, threats.

Because as a developer, it’s not just enough to come up with new, innovative ways to accomplish your goals. Those methods also need to be strong enough and reliable enough that users can trust in them.

It’s one of the many reasons why we hold DockerCon every year. We want everyone in the developer community to have the tools you need to take on any new challenge easily so you can keep innovating and redefining what’s possible.

This year is no exception. With DockerCon right around the corner, let’s take a look at three big trends in the application development world — and get a sneak peek into how DockerCon will help you get the tools you need to tackle them!

More complexity, more quality, and less time

Developers have always been under pressure to deliver better quality software, faster. That’s not new. But today’s application development is layering that drive for good and fast with complexity and continuous delivery. The result? Expectations that have never been higher.

Every day brings increasing demand for feature-rich, consumer-grade experiences that are, at the same time, secure and resilient by design. And developers are rising to meet this demand with a vast array of tools, services, and technologies — many of them open source and easy to consume right off the shelf.

All that complexity ends up creating a double-edge sword. You have more freedom and more tools at hand than ever before, enabling you to find just the right cog for your application machine. But at the same time, you have to spend time sourcing, comparing, evaluating, implementing, and managing these tools, which takes time away from innovation. (RedMonk calls it the developer experience gap. They recently sat down to chat about it with Docker CTO Justin Cormack.)

It’s a tough problem, but one you can address by finding ways to simplify workflows and, as a result, increase productivity. If you’re running into this, then be sure to check out our deep dive into the upcoming Docker Extensions feature at DockerCon. You might also want to check out the session about quickly creating production-ready APIs or the session about reducing the complexity of integration tests. There are also sessions around best practices and lightning talks with cool hacks for using Docker. Make sure you register so you can see the full agenda when it goes live!

The evolution of cloud-native development

It’s an incredibly exciting time for cloud-native application development. And if you’re reading this blog, then you probably know how container technology has fundamentally changed the way we build applications.

But there’s also new, exciting advancements on the horizon, ones that can leverage containers and other technology. Trends like low-code and no-code development are enabling lines of business to collaborate with developers much more directly in the design of cloud-native solutions, while other advancements like WebAssembly, composable applications, and FaaS/serverless are making applications more complex, fluid, and ephemeral. Even infrastructure changes like edge computing are decreasing response times and increasing flexibility in applications.

Trends like these are empowering developers to do great things, but you need development environments and workflows that can give you the flexibility you need to take advantage of these advancements.

At DockerCon, you’ll find talks on using Docker with WebAssembly, AWS Lambda, microservices, IoT, and more to help give you flexibility and choice in your application architecture.

Software supply chains are getting more complex

Open source is everywhere these days. It’s become a de facto standard for development, unlocking new levels of application capabilities — and the potential for introducing vulnerabilities into your software supply chain.

These can become big problems with the potential to affect entire ecosystems. You need to be able to know exactly what’s in your software and be able to trust the components that you’re building into it. This also includes the many dependencies that make up your application.

It’s why we recently released a new SBOM command in the Docker CLI as part of an open source collaboration with Anchore using their Syft project. It’s also why we’re dedicated to helping you secure your software supply chain.

Make sure to join us at DockerCon for sessions about these and other software supply chain advancements. In addition to a sessions specifically about the SBOM CLI command, there’s also sessions about protecting your systems from vulnerabilities, using trusted content from Docker Official Images or Docker Verified Publishers, and more.

Join the conversation at DockerCon 2022

All this is just a taste of what’s to come at DockerCon 2022 on Tuesday, May 10th. The full agenda will be released next week, so make sure you register to get notified when it goes live!

Also, if you’re new to Docker or containerized applications (or just want a refresher), be sure to sign up for the 3-hour Getting Started with Docker workshop on Monday, May 9th led by Docker Sr. Developer Advocate Shy Ruparel.

Come hang out with the Docker community and learn how to navigate these trends so you can spend more time innovating and less time on everything else.

]]>
DockerCon: What Makes a Successful CFP Submission https://www.docker.com/blog/dockercon-what-makes-a-successful-cfp-submission/ Thu, 03 Feb 2022 18:56:30 +0000 https://www.docker.com/blog/dockercon-what-makes-a-successful-cfp-submission/ The DockerCon 2022 Call for Papers is now open! DockerCon is one of the largest developer events in the world, with over 80,000 developers registering for each of the last two events. At the core of DockerCon is the chance for members of the community to share their tips, tricks, best practices and real-world experiences with one another. With the opening of the CFP, I also want to share some insights and suggestions to help you create a submission set up for success.

blu logo no bkgr cropped

First: it helps to know your audience. At DockerCon, we draw attendees from all over the world with a range of experiences from newbie to guru. In general, however, the majority of the developers who attend DockerCon fall into these three categories:

  • New developers, who are just getting started with containerization, using Docker, and building cloud native applications. Sessions introducing Docker, ones that put Docker into context of popular programming languages such as JavaScript, Python, Go, .NET and Java, and that help a developer get up and running are quite popular. In these cases, sharing the details you wish you knew when you were getting started make for outstanding sessions and are some of our most viewed content.
  • Experienced developers, who use Docker but are looking for ways to get their applications built faster and grow their capabilities (both in terms of features as well as individual skills). Proposals for sessions that share best practices, case studies from real-world development experience, as well as ways to incorporate automation, scalability and security within a development inner loop. These all meet the needs of developers with more experience.
  • Expert developers, who are digging into the command line, building Docker Images from scratch, and contributing to OSS projects. These developers are attracted to the “black belt” sessions that dive into the internals of the Docker Engine, extensibility and integration into other tools such as CI/CD, repositories, and CSPs. Examples that show how hard problems are solved, how the Docker Engine works, digging into OSS projects, and showing how you can “run with scissors” make for compelling content on cutting-edge topics.

Next, it’s important to connect with developers in a natural and accessible way. What did you learn from your project? What surprised you? What do you wish you knew before you started your last project? These kinds of experiences are incredibly valuable, and help your peers move quickly and successfully by learning from your lessons. Mistakes can be the best teacher, don’t shy away from sharing these and what they taught you.

Finally, think of your session at DockerCon as the beginning of someone’s learning journey. I want you to create materials that help accelerate a developer’s application of lessons learned in their own projects. Sessions should have materials that help a developer take what they’ve learned and apply it quickly in their own app. As you write your sample code, think how you can package it for use by your attendees: create an awesome-compose example, a Docker Dev Environment, a GitHub repo with the sample code, or other ways to take your code and deliver it in a way to jump start a developer learning journey. We are prioritizing selection of sessions with these assets included in the talk, but more importantly, it will create a better experience for your audience.

I can’t wait to see what great ideas you have for this year’s DockerCon. The deadline is March 3rd, If you have any questions, comments or just want to connect. You can reach me in our Community Slack or on twitter at @pmckee.

DockerCon2022

Join us for DockerCon2022 on Tuesday, May 10. DockerCon is a free, one day virtual event that is a unique experience for developers and development teams who are building the next generation of modern applications. If you want to learn about how to go from code to cloud fast and how to solve your development challenges, DockerCon 2022 offers engaging live content to help you build, share and run your applications. Register today at https://www.docker.com/dockercon/

]]>