Docker 1.13: what’s new? – Web-systems
01 February 2017

Docker 1.13: what’s new?

Docker 1.13: what’s new?

After 6 months of development, January 19, 2017, the world has released a new version of Docker 1.13. With the release of version 1.13, many new features, improvements and patches have become available to developers. Detailed information about software updates, translated by an article from's Official Blog.

Using compose files to deploy services in Swarm mode

Docker 1.13 adds support for compose files to the docker stack deploy command so that services can be deployed using the docker-compose.yml file directly. Enabling this feature is a significant effort to extend the Swarm API to make it more flexible and useful.


  • the ability to specify the required number of copies for each service
  • apply the update policy
  • determining the conditions for launching services

Now you can deploy a complex multiservice stack on multiple hosts with just one command:

docker stack deploy –compose-file=docker-compose.yml my_stack

Improved Command Line Interface (CLI) backward compatibility

Have you ever suffered from an error called: Error response from daemon: client is newer than server because your Docker CLI version has been updated? Previously, this error was caused by the use of a new version of the client with the old version of daemon, and to avoid it, still had to use it with the old Docker engine.

As of version 1.13, newer CLIs can be used to manage older daemon versions. Also, Docker 1.13 creators have added a reconciliation feature, in case a new client tries to use features that are not supported in older daemon versions.

Cleaning commands

Docker 1.13 introduces some useful commands to help users understand how much disk space Docker is using and to help delete unused data.

docker system df- will show the space used

docker system prune – delete all unnecessary data

Prune can also be used to clean only some types of data.

Restructuring the command line interface

Over the past few years, Doker’s capabilities have been replenished with many features, with 40 teams at the time of writing this CLI article. Some, such as build or run, are most commonly used, some, such as pause or history, are less popular. Many top-level commands clutter up help pages and complicate what is known as tab-completion.

Docker 1.13 reorganized commands to make the objects they interact with more logical. For example, commands to list and start list and start containers now become the docker container subcommand and history the docker image subcommand.

docker container list

docker container start

docker image history

The changes made it possible to clean up the Docker CLI syntax, improve the help text and make it easier to use Docker. Old syntax support has been retained for backward compatibility, but the Docker team is urging everyone to adopt the new syntax.

Enhanced monitoring capabilities

docker service logs – a new powerful experimental team that greatly simplifies service debugging. Instead of manually collecting logs from separate hosts and containers, docker service logs pulls logs from all containers in which the process is running and sends them to the current console.

Docker 1.13 also added a Prometheus style collection point with basic metrics for containers, images, and daemon states.

Build improvements

docker build has a new experimental flag – squash. It aggregates all parts of the file system produced by compression into one consolidated layer. This can simplify the creation of minimalistic container images, but can also increase the overhead when moving images (because squash layers will no longer be able to share between images).

Version 1.13 also has support for compressing the assembly context from the CLI to daemon using the compress flag. This will accelerate the compression that is produced on remote daemons by reducing the amount of data transmitted.

As well as the beta phase of Docker’s beta testing for AWS and Azure cloud services.



Views : 1283

We also recommend:

About three years ago, a service known as Google Shopping was launched in Ukraine. This is one of the types of contextual advertising, which is great for the E-Commerce. Visual advertising of products on the Google site, which is also called "product campaigns". So, when you make a search query for a product, you will see not just the text, but a picture, the name of the product, the price and the online store itself, which sells this product.
22 February 2021
Depression in February-March is a common thing. Everything seems gray, ordinary, sometimes even a little boring. What can save from depression? Shopping as an option! Today, more and more people buy products online, and now online stores are becoming indispensable. Its number is constantly increasing. And that is why online-stores looking the same. How to help the online store owner congratulate the grayness and monotony, and how can online shopping help fight depression - we will talk in our new article.
25 February 2020
Web-Systems Solutions uses cookies to personalize services and analytics for users. By continuing to use this site, You give your agreement for using cookies. We take data protection seriously - read the terms and conditions for data processing.
I agree