BT

InfoQ Homepage News Docker Engine 20.10 Released: Supports cgroups v2 and Dual Logging

Docker Engine 20.10 Released: Supports cgroups v2 and Dual Logging

This item in japanese

Lire ce contenu en français

Bookmarks

Docker announced the next release of Docker Engine 20.10, adding support for cgroups v2 with improvements in the command line interface (CLI) and support for dual logging. This is the first major release after Docker Engine 19.03, released on 22nd July, 2019.

Benjamin De St Paer-Gotch, principal product manager at Docker Inc, provided details of this release in a blog post. Docker Engine comprises a client-server application, with a server dockerd, APIs specifying interfaces to be used by programs, and a CLI client, docker.

Building on the foundational Linux Kernel, Docker Engine has introduced cgroups v2 to isolate the running processes and files associated with them. Docker uses namespaces with cgroups, to achieve the said isolation. Adding this feature has enabled Docker to graduate "rootless" to a fully supported feature. Rootless mode facilitates running the entire Docker environment without root system privileges.

Supporting dual logging for the first time, various third party logging drivers can now read docker logs. This will provide a seamless approach when attempting to collect automated container log. Continuing support for CentOS8, the 20.10 release has added support for Ubuntu 20.10 and Fedora 33.

Focusing on the effectiveness of the CLI tool, Docker Engine 20.10 has new options such as:

  • docker push now works similar to docker pull, so that if the image name is pushed without a tag, only the :latest tag will be pushed, rather than all tags
  • Environment variables can now be stored in a file and passed when running docker exec. The new -env-file allows for parsing environment variables from the specified file
  • Flags for --pull=missing|always|never options with create and run commands provide more control over when to pull the images
  • Support for swarm jobs, to run batch jobs

Thanking the contributions by community, Paer-Gotch said, "When I say 'we' throughout this (blog) article I don’t just mean the (awesome) engineers at Docker, I mean the (awesome) engineers outside of Docker and the wider community that have helped shape this release."

As the year 2020 concluded, Docker has repeatedly been in the news, as they introduced subscription tiers, and Kubernetes deprecated Docker Engine support with v1.20.0.

For getting started, our readers can install the packages available via the Docker website. To learn more about this release, check out the release notes. As of this writing, Docker has released two minor versions.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.