dockercon us 2015 - engine breakout session

15
Docker Engine - Breakout session Arnaud Porterie, eng. manager Michael Crosby, chief maintainer

Upload: arnaud-porterie

Post on 15-Apr-2017

114 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: DockerCon US 2015 - Engine Breakout Session

Docker Engine - Breakout session

Arnaud Porterie, eng. manager

Michael Crosby, chief maintainer

Page 2: DockerCon US 2015 - Engine Breakout Session

Agenda

• Engine quick facts

• What’s new in Docker Engine 1.7.0

• What’s coming next - Demo!

• Q&A

Page 3: DockerCon US 2015 - Engine Breakout Session

Engine quick facts What’s the Docker Engine?

Page 4: DockerCon US 2015 - Engine Breakout Session

Engine quick facts

• Central piece of the Docker platform - Docker daemon + docker CLI

• Engine by the numbers - 963 contributors

- 71 pull requests on average merged each week

• https://github.com/docker/docker/

Page 5: DockerCon US 2015 - Engine Breakout Session

What’s new in Engine 1.7.0 A tour of the major new features

Page 6: DockerCon US 2015 - Engine Breakout Session

Experimental binary

• A new flavor of the Docker engine - Built and distributed nightly

- Bleeding edge features: we want your feedback!

• First experimental features - New networking model

- Network plugins

- Volume plugins

• https://experimental.docker.com

Page 7: DockerCon US 2015 - Engine Breakout Session

Network stack

• Introducing libnetwork - Whole new API (Container Networking Model)

• A much needed technical effort - Solid ground for better default batteries

- Single extension point for alternative batteries

• https://github.com/docker/libnetwork/

Page 8: DockerCon US 2015 - Engine Breakout Session

Better network performance

• docker -d --userland-proxy=false - Huge performance improvement for port publishing

• Not the default - Relies on Hairpinning

- Introduced in 2.6.32, still an issue on some distros

Page 9: DockerCon US 2015 - Engine Breakout Session

And many more!

• ZFS storage driver

• docker build --cpu-quota …

• docker build https://github.com/x/y#branch

• docker exec -u|--user

• …

Page 10: DockerCon US 2015 - Engine Breakout Session

What’s next

Page 11: DockerCon US 2015 - Engine Breakout Session

Better tooling

• Community wants choices - Push/pull without Docker (and vice-versa)

- Containers without the daemon

- …

• Objective: spin-out runtime, builder, trust, …

Page 12: DockerCon US 2015 - Engine Breakout Session

Security

• Trusted image distribution

• User namespaces

• Syscall filtering with seccomp - Already supported by libcontainer

• Engine security profiles - Simple way to express security constraints

- Single file for capabilities, AppArmor, seccomp, …

Page 13: DockerCon US 2015 - Engine Breakout Session

Networks & volumes management

• Top-level network concept - Already in experimental

• Similar top-level volume concept - Currently in design

$ docker network create --driver d net1$ docker run --publish-service=svc.net1 my_image

$ docker volume create --driver d vol1 $ docker run -v vol1 my_image

Page 14: DockerCon US 2015 - Engine Breakout Session

Demo time!

Page 15: DockerCon US 2015 - Engine Breakout Session

Thank youArnaud Porterie / @icecrime

Michael Crosby / @crosbymichael