docker online meetup #32: docker 1.10

8
Docker 1.10 February 2016

Upload: docker-inc

Post on 13-Feb-2017

4.148 views

Category:

Technology


1 download

TRANSCRIPT

Docker 1.10February 2016

New Compose file

2

version: 2

services:

web:

image: oscorp/myapp

networks:

- web-tier

- db-tier

links:

- db

db:

image: postgres

network: web-tier

volumes:

- db

networks:

web-tier:

db-tier:

volumes:

db:

● Describe your app in a single file for deploying across multiple environments

● Build in development, test in CI, deploy to Swarm

● In version 2 of the format, you can now describe and define relationships between services, networks, and volumes

● Networks and volumes can be backed by drivers depending on what environment you’re in

Security updates

3

● Seccomp profiles: Fine-grained policy controlling what syscalls containers can make, with sensible defaults now applied to all containers

● User namespacing: Give containers their own set of UIDs and GIDs so users are isolated.

● Content addressable image IDs: Image IDs represent the content that is inside an image.

● Authorization plugins: A plugin mechanism for doing access control on Engine actions.

Networking updates

4

● Links in user-defined networks: Links return in user-defined networks to allow you to explicitly define dependencies and alias hostnames to a different name for a single container (e.g. --link db:production-postgres ).

● Custom IP addresses: Specify what IP address a container should use when joining a network.

● Alias containers within a network: Allow a container to be accessed by multiple names within a network.

● DNS server for name resolution: Host files have been replaced with a DNS server for improved reliability.

Engine

5

● Better event stream● Resource constraints for disk I/O● Update resource constraints without

having to restart containers● Reload daemon configuration without

restarting daemon● Improved push/pull performance and

reliability● Log driver for Splunk for sending

container logs

Swarm

6

● Experimental rescheduling of containers when node fails

● Run images from private repositories● Better node management: see errors

from nodes that fail to join the cluster

Other Highlights

7

Docker Machine● Improved reliability● No need to specify “default” for

commands● New provision command for

reprovisioning machines

Docker Compose● Use pre-built images on Hub to

speed up dev environments● Events command

THANK YOU

8