Our journey from office-centric to remote-first

Docker Inc. started like many startups with engineers working from a single location. For us, this was in the Bay Area in the US. We were very office-centric, so the natural way to increase diversity and to get engineers from different cultures to work together was to open new offices in diverse locations. Right from the start, our goal was to mix American and European ways of producing software, giving us the best of both cultures.

Step 1 – Opening European offices

In 2015, Docker started to open offices in Europe, starting with Cambridge in the United Kingdom and followed by Paris in France. With these two locations, the long road to gaining experience working with remote employees began.

Having multiple offices scattered around the world is different from being fully remote. But you still start experiencing some of the challenges of not having everybody in the same location simultaneously. We spent a great deal of our time on planes or trains visiting each other.

Despite the robust open-source culture of the company, which shows that you can build great software while not having everybody in the same room, we still had a very office-centric culture. A lot of the context of a given product conversation or decision was linked to a given office. When you were not in the office where the decision was made, you only had partial information about the decision.

We learned a lot during this time: organizing work effectively and enjoyably while appreciating different cultures, time zones (France and US West Coast are 9 hours apart…), paperwork, salary expectations, public holidays, etc. 

Step 2 – Remote Engineers in an office-centric culture

The products Docker builds have a significant impact on the world, so hiring great engineers has never been a problem at Docker. We were artificially limiting ourselves to hiring talent close to one of our offices. We could open more offices or start hiring people as fully remote wherever they lived. In 2017, we hired a couple of very experienced remote engineers who had 5+ years of experience working remotely. They brought a lot of their best practices, and with them, the company learned how to be better at working with remote engineers. 

One of the areas we made changes was in how we ran meetings. Instead of only having remote employees dial in and struggling to follow conversations in conference rooms, we got everyone, even those in offices, to dial in with a good headset so that everyone was on the same level. This drastically improves the quality of meetings for those who are remote. 

We also learned the power of good writing as time zones forced communication to be more asynchronous. Concise, clear, and effective, writing became critical. 

We worked hard on our company core values, one of them is “Open Collaboration”. Following that value, we started to close 1600+ slack channels to concentrate our communication around just a few dozen. We advocated for communication to happen in public slack channels by default and limiting the usage of private channels to only when necessary.

Remote engineers felt better, but there was still a life in the office they couldn’t grasp, this is when we introduced Wormholes. Wormholes are pretty low-tech, they are a monitor, a camera, and speakers open in the offices all day. Remote engineers connect to it, have a view of the offices, and can feel the ambiance and hear general conversations. They can also slack someone to come close to the wormhole for “direct” communication. They were pretty popular until we left our offices to start working from home.

Step 3 – Remote work during a worldwide pandemic

In early 2020, once we were pretty experienced at remote working, we advocated for all positions to be open in any country that we had legal entities, making it easier for us to hire good talent.

Then Covid hit us along with everyone else. Relatively confident in our experience of working remotely, we thought that we were more ready than others to have everyone working at home. We quickly realized that working remotely and working remotely through a pandemic are not the same at all. 

While we had the software and culture to embrace a remote-first workforce, the pandemic itself brought new challenges. Not being able to see each other in the office or family and relatives for such a long time has taken a toll on everybody. This also highlighted inequality that we didn’t realize before: people with small apartments, young kids, or living alone were hit harder than those living with relatives and enjoying a large house.

These hard-learned lessons fueled the way we shape the future of work at Docker. Giving employees help to set up their home office, helping them move from one city to another, and generally spending enough time and energy making sure everybody is comfortable as we transition to this exciting new future of work.

Step 4 – Embracing remote-first

While other companies are pushing their employees to get back to offices, we decided that there is no turning back for Docker Inc. and that we will stay remote-first. All of our offices are closed and will remain so. When Covid releases its pressure on the world, we will offer employees who live near to each other support to meet up and continue to collaborate and drive our culture, while we will look for chances to do this as a whole company both remote and in-person as things return to normal in the future. 

Our journey from office-centric to remote-first has been exciting, and we’re eager to get even better at being remote-first. 

We are now in a position to hire almost wherever you are, so if you’re interested in living this experience with us while producing impactful software, we have positions open in Engineering and Product. 
The post Our journey from office-centric to remote-first appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

DockerCon Live 2021: A Look Back at What’s New

Nearly 80,000 participants registered for DockerCon Live 2021! There were fantastic keynotes, compelling sessions, thousands of interactions and everything in-between that a developer and development teams need to help solve their day-to-day application development challenges.

In all that excitement, you might have missed the new innovations that Docker announced to make it easier for developers to build, share and run your applications from code to cloud. These enhancements are a result of Docker’s continued investment and commitment to make sure developers have the best experience possible while making app development more efficient and secure.

Application security is directly tied to the software supply chain. Developers are realizing the importance of integrating security as early as possible in the development process. They  must now consider the security directives of their organization and associated compliance rules while also enabling their teams to work in the most secure, efficient way possible.

These new product enhancements bolster security in a number of dimensions including scanning for vulnerabilities during different development stages and increasing team security by offering tools such as audit logs and scoped access tokens.  

Take a look at what we announced:

Verified Publisher ProgramDocker launched the Docker Verified Publisher program to provide access to Docker differentiated and trusted content that developers can leverage as reliable building blocks for their applications. The Docker Verified Publisher offerings include popular developer components such as Bitnami and Spring software from VMWare, RedHat Universal Base Images (UBI), Canonical Ubuntu and more.

Docker Dev EnvironmentsDocker Development Environments form the foundation of Docker’s new collaborative team development experience. It empowers teams to work better together to create novel, new value for customers by spending less time setting up and debugging environments, bringing the ease of use and reproducibility of containers to an interactive development environment. Developers can now easily share more than just their code, taking the dependencies and wider application context and sharing this with a teammate as simply as doing a docker push. Docker Development Environments will be available this summer. 

Docker Compose v2Docker continues investing in Docker Compose, a developer favorite tool for running multiple container applications. Version 2 incorporates the docker compose command into the Docker CLI. Compose now supports GPU configuration for Windows and Linux as well as Compose Service Profiles. Compose Service profiles can help your team to run different sets of services associated with a profile when you’re debugging vs testing vs developing, while managing all of that configuration in one docker-compose.yml. Docker Compose v2 is currently available in Docker Desktop and will be included in the Docker Linux packages later in the year by default.

Scoped Access TokensWith access to software supply chains becoming a higher security concern, Docker is updating Personal Access Tokens (PATs), to support fine-grained permissioning.  The new Docker token permissions, which are scheduled to release later this summer, include the options to define access that is read only, or read and write or read public repos only. This security feature provides developers and their managers with tighter control over which teams, and which automated application delivery pipelines have access to their code.Learn more in our press release.

Advanced Image ManagementDocker’s Advanced Image Management Dashboard available on Docker Hub for Docker Pro and Team users provides developers with a new level of access and fine grained control for all of the content stored in Docker Hub. Developers can now remove old content and explore older versions of pushed images. 

Vulnerability Scanning Docker also launched vulnerability scanning options as part of Docker Hub and Docker Desktop in conjunction with our partner Snyk to include security testing options along multiple points of the developer inner loop. Docker is also bringing ‘docker scan’ to the Docker CLI on LINUX with the same seamless CLI experience that developers are familiar with. Read more about the Snyk partnership.

Audit LogsAudit logs provide owners of Docker Team accounts a report of all their team member activities.  Team leaders can view and track any changes that are made, that date that a change was made and who initiated the change.  

Docker Desktop on Apple SiliconDocker recently announced support for Docker Desktop on the Apple M1 continuing to support developers in our community with their choice of local development environments. Learn more  

Compose Service ProfilesCompose Service profiles help development teams to run different sets of services associated with a profile when debugging, testing or developing while managing all of that configuration in one docker-compose.yml. 

Docker Desktop UpdatesUpdates to Docker Desktop include integration of Compose, Compose Service profiles and BuildX.  BuildX is Docker’s next-gen build command and enables developers to do multi-architecture builds, share those builds with dev teams and the community on DockerHub, speed up build processes with remote caches and so much more. 

Want to get started right away?

Save 20% off Docker Pro and Team Subscriptions  New and returning customers can use the DOCKERCON21 promo code to receive a 20% discount for an annual subscription, or for the first 3 months of a monthly subscription. Offer is valid until 11:59 PM PT on June 11, 2021. Visit https://www.docker.com/pricing
The post DockerCon Live 2021: A Look Back at What’s New appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

Today Is The Day!

It’s here! Ready or not, DockerCon — our free, one-day, all-digital event designed for developers by developers — has arrived. Registration is open until 9 a.m., so if you haven’t already done so, go ahead and sign up!

This is your chance to learn all you can about modern application delivery in a cloud-native world — including the application development technology, skills, tools and people you need to help solve the problems you face day to day.

Final reminders: Don’t forget to catch our line-up of keynote speakers including Docker CEO Scott Johnston, and to bring your questions to Live Panels hosted by Docker Captain Bret Fisher, as well as our two developer-focused panels and Hema Ganapathy’s women’s panel. Just put your questions on selected topics in chat, and the team will do their best to answer them.

If you still need guidance on what to focus on, here’s a reminder of what not to miss. And don’t forget to come celebrate our global community in Community Rooms — a first at DockerCon.

That’s it! Now go forth and carpe DockerCon!

DockerCon LIVE 2021

Join us for DockerCon LIVE 2021 on Thursday, May 27. DockerCon LIVE 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 LIVE 2021 offers engaging live content to help you build, share and run your applications. Register today at https://dockr.ly/2PSJ7vn
The post Today Is The Day! appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

A Big Thank You to Our DockerCon Live 2021 Sponsors

With DockerCon just a day away, let’s not forget to give a big THANK YOU to all our sponsors.

As our ecosystem partners, they play a central role in our strategy to deliver the best developer experience from local desktop to cloud, and/or to offer best-in-class solutions to help you build apps faster, easier and more securely. Translation: We couldn’t do what we do without them.

So be sure to visit their virtual rooms and special sessions at DockerCon this Thursday, May 27. With more than 20 Platinum, Gold or Silver sponsors this year, you’ll have plenty to choose from.

For example, check out AWS’s virtual room and the session with AWS Principal Technologist Massimo Re Ferrè at 3:15 p.m.-3:45 p.m. PDT.

And check out Microsoft’s virtual room and any of the three sessions it’s offering — How to Package DevOps Tools Using Docker Containers (3:45 p.m.- 4:15 p.m.), Container-Based Development with Visual Studio Code (4:15 p.m.- 4:45 p.m.), and Supercharging Machine Learning Development with Azure Machine Learning and Containers in VS Code! (4:45 p.m.- 5:15 p.m.).

Or there’s Mirantis’ virtual room and their two sessions —A Day in the Life of a Developer: Moving Code From Development to Production Without Losing Control (11:15 a.m.- 11:45 a.m.), and theCUBE interview with Mirantis CEO Adrian Ionel.

Responsibility for cloud native security is increasingly moving towards developers and devops teams, and as our ability to easily integrate security into our pipelines has increased, so has the amount of information about security that these teams are expected to parse. Join Snyk Senior Developer Advocate Matt Jarvis (1:00pm-1:30pm) in a session that covers this important topic.

No matter which of their sessions you choose to attend, you’ll learn something new about modern application delivery in a cloud-native world. Register for DockerCon today at https://dockr.ly/2PSJ7vn.

 DockerCon Live 2021

Join us for DockerCon Live 2021 on Thursday, May 27. DockerCon Live 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 Live 2021 offers engaging live content to help you build, share and run your applications. Register today at https://dockr.ly/2PSJ7vn
The post A Big Thank You to Our DockerCon Live 2021 Sponsors appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

DockerCon 2021: Women in Tech Panel

At Docker, we feel strongly about embracing diversity and we are committed to being proactive with respect to inclusion. As an example of our support for diversity, we are hosting the Community Rooms during DockerCon with panels and sessions for our global audience in their native languages. We are also highlighting the contributions from our women Captains and community developers.

At DockerCon, the Women in Tech panel will focus on the breadth and depth of knowledge from our panelists and their experiences using Docker technology throughout their career. Join us as we discuss the career choices that led these women to become application developers and hear about key innovations that they are working on.  

Women in Tech Panel 4:15 Pacific on May 27, 2021

This panel is just one event out of a one day event packed with demonstrations, product announcement, company updates and more – all of it is focused on modern application delivery in a cloud-native world.

Our panelists and moderators include:

Hema Ganapathy – ModeratorProduct Marketing, Docker

Hema is a highly seasoned technology professional with 30+ years of experience in software development, telecommunications, cloud computing and big data.  She has held senior positions in companies such as Cisco Systems, Juniper Networks and Alcatel.  She started her career as a software engineer working on complex projects for internet routing and switching and has programmed in many languages.  Currently Hema is in product marketing at Docker.

Dieu Cao – ModeratorSr Director, Product Management – Docker

Dieu Cao is a Sr. Director of Product Management at Docker where she works with the Docker Desktop, Engine, Compose and Build teams.  In Dieu’s spare time, she enjoys playing Minecraft and going to the beach with her family.

Julie Lerman – PanelistDocker Captain and Software Coach – The Data Farm

Julie is a long-time Microsoft MVP who now counts her years as a coder in decades. She makes her living as a mentor and consultant to software teams around the world. You can find Julie presenting on Entity Framework, Domain Driven Design and other topics at user groups and conferences around the world. Julie blogs at thedatafarm.com/blog, is the author of the highly acclaimed “Programming Entity Framework” books, the MSDN Magazine Data Points column and popular videos on Pluralsight.com. Follow Julie on twitter @julielerman.

Melissa McKay – PanelistDocker Captain and Developer Advocate – JFrog

Melissa is a long-time developer/software engineer turned international speaker and is currently a Developer Advocate for JFrog, Inc., sharing in the mission to improve the developer experience with DevOps methodologies. Her background and experience as a software engineer span a slew of languages, technologies, and tools used in the development and operation of enterprise products and services. She is a mom, Java Champion, co-author of the upcoming book DevOps Tools for Java Developers, a huge fan of _UN_conferences, and is always on the lookout for ways to grow and learn. Given her passion for teaching, sharing, and inspiring fellow practitioners, you are likely to cross paths with her in the conference circuit — both online and off!

Jocelyn Matthews – PanelistCommunity Manager – Storj

Jocelyn is Community Manager at Storj Labs. Previously a faculty member of Santa Monica College, she is also a former lab member at CITRIS (the Center for Information Technology Research in the Interest of Society) Banatao Institute. Jocelyn is a former Rosberg-Geist Fellow at the Center for African Studies at UC Berkeley. Her ethnographic social research has received grant funding from HASTAC Humanities, Arts, Science and Technology Alliance Collaboratory; the Sultan Grant for Arab Cultural Studies; UC Berkeley Center for Race and Gender Studies; and the National Science Foundation (NSF). In her spare time, she is an active member of the Bay Area Black Designers group, and the lead admin for DevRel Collective. She cares very much about diversity, inclusion and equity, values she brought to bear both as a former faculty member of the California college system, and while teaching underserved teens in Oakland.

There are only a few days left before DockerCon 2021 – make sure to sign up today!

DockerCon Live2021Join us for DockerCon Live 2021 on Thursday, May 27. DockerCon Live 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 Live 2021 offers engaging live content to help you build, share and run your applications. Register today at https://dockr.ly/2PSJ7vn
The post DockerCon 2021: Women in Tech Panel appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

DockerCon Is Almost Here!

Can you feel it? DockerCon is just days away. There’s still time to register before the one-day, free, virtual extravaganza takes place this Thursday, May 27. Demonstrations, product announcements, company updates — you name it, it’s on the program. All of it focused on modern application delivery in a cloud-native world.

Do DockerCon your way. There’s tons of options. Be sure to catch our line-up of top-notch keynote speakers, which includes Docker CEO Scott Johnston, CTO Justin Cormack, VP of Products Donnie Berkholz, and special guests from GitHub and Orbital Insight.

Check out our recent blog on what not to miss, such as sessions on coding using Docker’s new HTTP APIs, a dive into Docker Dev Environments, tips for navigating a multi-architecture world, and what to do if your container image has more vulnerabilities than you have Twitter followers.

Got questions? Find answers via Live Panels hosted by Docker Captain Bret Fisher, join Peter McKee on two developer focused panels and participate in Hema Ganapathy’s women’s panel. Just put your questions on selected topics in chat, and the team will do their best to answer them. Note: These live streamed Q&A sessions tend to be DevOps focused and super practical.

And don’t forget to come celebrate our global community in Community Rooms — a first at DockerCon.

We’re looking forward to seeing you and making this the biggest and best DockerCon ever! Register today at https://dockr.ly/2PSJ7vn.

DockerCon Live 2021Join us for DockerCon Live 2021 on Thursday, May 27. DockerCon Live 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 Live 2021 offers engaging live content to help you build, share and run your applications. Register today at https://dockr.ly/2PSJ7vn

The post DockerCon Is Almost Here! appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

What Not to Miss at DockerCon 2021

You’ll have no shortage of content to choose from at DockerCon 2021. The one-day virtual event on May 27 will offer a smorgasbord of demonstrations, product announcements, company updates and more — all of it focused on modern application delivery in a cloud-native world.

But if you need some help narrowing down what’s in the must-see category, allow us to recommend the following key sessions. They include hands-on coding using Docker’s new HTTP APIs, a dive into Docker Dev Environments, tips for navigating a multi-architecture world, and what to do if your container image has more vulnerabilities than you have Twitter followers.

Check them out. They’re all free! And if you can’t participate live, you can watch recordings at your own pace.

DockerCon LIVE 2021Join us for DockerCon LIVE 2021 on Thursday, May 27. DockerCon LIVE 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 LIVE 2021 offers engaging live content to help you build, share and run your applications. Register today at https://dockr.ly/2PSJ7vn

Beyond the UI: Hands-on coding with Docker’s new HTTP APIsSpeaker: Mark Higson (Docker)Websites, desktop apps and CLIs can’t cover every use case. When developers need to do something specialised, they turn to APIs. Learn how Docker’s new API First strategy is driving internal development, and follow along on a practical, realistic coding exercise that puts them to use.

How much Kubernetes do I need to learn?Speaker: Elton Stoneman (Consultant)Kubernetes sets your containers free – you can run them in any cloud using the same Docker images you use on your laptop. It’s a difficult technology to learn, but this session guides you through the key concepts and shows you Kubernetes in practice using a local cluster in Docker Desktop.

Docker Dev Environments: a New Way to Collaborate Without Git ConflictsSpeakers: Benjamin De St Paer-Gotch, Djordje Lukic and Guillaume Lours (Docker)We will start with an introduction to Docker Dev Environments: What they are, what problems they solve and how they work. We’ll then dive into where we’ll be taking them over the next few months and talk about features like: portable volumes, consistent sidecar containers and tooling, connecting from Desktop to the cloud, Docker Workspaces and more!

From fig to the Docker CLI: What’s new with Compose?Speaker: Nicolas de Loof (Docker)Do you love Docker Compose or are you just getting started in the Docker ecosystem? This talk is for you either way! You’ll learn more about where Compose came from, what it can do and what’s new with Compose.

My container image has 500 vulnerabilities, now what?Speaker: Matt Jarvis (Snyk)I scanned my container, and now I have a huge list of vulnerabilities – what do I do now? Developers now need to understand how we can assess security risk, prioritization and how we go about starting to remediate. Don’t panic, I’ll talk you through what we need to consider and how to get started!

Lessons learned deploying application on AWS using the new Docker Compose CLI integrationSpeakers: Massimo Re Ferrè (AWS) and Dexter Legaspi (SiriusXM-Pandora)Cloud deployments is a hot topic and this talk is all about how to help Docker practitioners make that jump leveraging their existing Docker knowledge and the assets they have already created. Docker compose up … in the cloud!

Optimizing Docker builds: successes, failures, and instrumented observabilitySpeaker: Nicole Rifkin (SimplyBusiness)Our Dockerfile was a hot mess. We needed it to build faster. The result was a messier Dockerfile. It was impossible to know if adding ‘more grease’ was making it faster or slower. Learn how we made sense of our spaghetti code with instrumented observability!

I have an M1 Mac, now what? Docker in a multi-arch worldSpeaker: Tonis Tiigi (Docker)In this session, you’ll learn how to work with containers in teams that use a mix of different architectures. We’ll cover how to make sure you are using the correct base images and what you should know when writing Dockerfiles so they work across architectures. We’ll look at how “docker buildx” command can be used to create multi-platform images and set up multi-platform builder clusters, as well as when to use the emulation layer built into Docker desktop or cross-compilation.
The post What Not to Miss at DockerCon 2021 appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

Answering Your Questions at DockerCon LIVE 2021

 Guest post by Docker Captain Bret Fisher, a DevOps consultant and the creator of the popular Docker Mastery Udemy course. Join us for DockerCon LIVE 2021 on Thursday, May 27. DockerCon LIVE for a free, one day virtual event at https://dockr.ly/2PSJ7vn

I have the pleasure of hosting many of the live events at DockerCon this year. You may remember my 7+ hour non-stop live stream from last year’s DockerCon LIVE 2020 with nearly 20 guests:

We’re back!

This year we’re calling them Live Panels. You’ll find them in their own track in the schedule.

If you’ve never visited one of my live streams before, they tend to be DevOps focused, and as practical and real-world as we can be. Come ready to ask my guests questions in chat on our selected topics, and we’ll do our best to answer as many as we can! You get to guide the conversation with the live stream chat Q&A.

I’m hosting three live panels on three topics. I wanted to discuss the top three things that I think are the hottest topics in Docker and Cloud Native container tech today for developers and DevOps professionals, so be sure to stop by my streams:

Easy CI With Docker

Thursday, May 27th, 10:45 AM US Pacific UTC -7

I’m joined by a panel of CI professionals as we take your questions live for an hour on all things Docker testing!  We’ll also discuss our opinions on our favorite tools, workflows, and where we think container-based CI is heading.

FutureOps: End-to-end GitOps

Thursday, May 27th, 1:00 PM US Pacific UTC -7

Now getting into more of the continuous deployment realm, my guest panel of DevOps professionals will take your questions for an hour on topics like CD, GitOps, and infrastructure-as-code!  We’ll also discuss our favorite tools, workflows, and guess where IaC and GitOps is heading.

Sysadminless: Running Containers Without Servers

Thursday, May 27th, 3:15 PM US Pacific UTC -7

The future of sysadmin is YAML!  Or maybe. I’m joined by a panel of infrastructure professionals and we take your questions live for an hour on all things cloud infra and self-managing container solutions!  We’ll also discuss our favorite tools, services, and where “sysadminless” might be headed.

I can’t wait to host another DockerCon live stream and I hope you’ll join us on the 27th for tons of sessions and live streams on the future of Docker. You can find me at @BretFisher and bretfisher.com.

Join us for DockerCon LIVE 2021 on Thursday, May 27. DockerCon LIVE 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 LIVE 2021 offers engaging live content to help you build, share and run your applications. Register today at https://dockr.ly/2PSJ7vn

The post Answering Your Questions at DockerCon LIVE 2021 appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

Video: Docker Build – Working with Docker and VSCode

Tune in as host Peter McKee turns over the controls to Brandon Waterloo for a show-and-tell of how to work with Docker and Visual Studio Code (VSCode). A senior software engineer at Microsoft, Waterloo is the lead developer of the Docker extension and works mainly on the Docker extension for VSCode.

VSCode is a streamlined source-code editor made by Microsoft for Windows, Linux and macOS that’s fine-tuned for building and debugging modern web and cloud applications. The Docker extension makes it easier to build apps that leverage Docker containers, helps scaffold needed files, build Docker images, debug your app inside a container and more.

Follow along as Waterloo builds a basic Python FastAPI app with a Redis backend and a simple hit counter, adding Docker files in order to containerize it. Along the way, he and McKee talk scaffolding, running, debugging, syntax highlighting, intelligent code completion, snippets and the climate benefits of living in Texas (McKee) versus Michigan (Waterloo).

Watch the video here:

 Join Us for DockerCon LIVE 2021  

Join us for DockerCon LIVE 2021 on Thursday, May 27. DockerCon LIVE 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 LIVE 2021 offers engaging live content to help you build, share and run your applications. Register today at https://dockr.ly/2PSJ7vn
The post Video: Docker Build – Working with Docker and VSCode appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

Docker Hub Incident Reviews – April 3rd and 15th 2021

In line with our promise last year to continue publishing incident reviews for Docker Hub, we have two to discuss from April. While many users were unaffected, it is important for us to be transparent with our community, and we hope it is both informative and instructive.

April 3rd 2021

Starting at about 07:30 UTC, a small proportion of registry requests (under 3%) against Docker Hub began failing. Initial investigation pointed towards several causes, including overloaded internal DNS services and significant and unusual load from several users and IPs. Changes were made to address all of these (scaling, blocking, etc), and while the issue seemed to resolve for several hours at a time, it continued coming back.

The issue re-occurred intermittently into the next day, at which point the actual root cause was determined to be under-scaled load balancers doing service discovery and routing for our applications. 

In the past, the bottleneck for the load balancing system was network bandwidth on the nodes, and auto scaling rules were thus tied to bandwidth metrics. Over time and across some significant changes to this system, the load balancing application had become more CPU intensive, and thus the current auto scaling setup was poorly equipped to handle certain scenarios. Due to the low traffic on the weekend, the system was allowed to scale too low, to the point where CPU became overloaded even though bandwidth was fine. In fact the high CPU load also lead to gaps in metrics reporting from those nodes, which further confirmed the theory:

Upon recognizing this, the deployment was manually scaled and the incident resolved at about 20:50 UTC on April 4th.

April 15th 2021

At 17:46 UTC, a change to the registry service was made that scaled up a new version and scaled down an old version. The configuration for our service discovery system needed to be updated to recognize this new version, but the changes were deployed in the wrong order. As such, our load balancers were unaware of any valid backends to serve Docker Hub registry traffic, and registry requests were met with a 503 error response.

The error in deployment was immediately recognized, and the configuration change for service discovery was quickly pushed. The error was resolved by 18:06 UTC.

Learnings and Improvements

With both incidents, we learned that we need more detailed and responsive monitoring for the registry pull request flow. We have already bolstered our internal monitoring to more quickly pick up these scenarios. In addition, while Hub endpoints are monitored externally, they are largely monitored in isolation – for example, checking that the registry API returns a valid response. Work is in progress to more exhaustively test the whole “docker pull” flow involving multiple API calls to multiple services, and from multiple external vantages, which would more quickly pick up on these types of issues.

For the earlier incident, we also made large changes to our load balancing deployment. Autoscaling rules were changed to reflect current bottlenecks (CPU), instance types were changed, and minimum instance counts were set higher. Metrics and alerting were updated to more quickly detect the issue, including looking for gaps in metrics. In the future, load testing for large changes will look at all metrics to determine whether the “bottleneck” attribute has changed.

As always, we take the availability of Docker Hub very seriously. We know millions of developers rely on Hub to get work done and to provide images for production workloads, and as such have made large investments in the reliability of Hub over the past several years. For example, the latter incident was resolved so easily and quickly in part due to better deployment automation built in the last year. We apologize for these incidents, and have taken action to ensure they don’t happen again.
The post Docker Hub Incident Reviews – April 3rd and 15th 2021 appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/