Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
6 October 2016
© 2016 CurrencyFair Ltd
News about Docker 1.13
Gianluca Arbezzano
Software Engineer at CurrencyFair
6 October 2016
© 2016 CurrencyFair Ltd
Docker 1.13 makes
production environment
good.
6 October 2016
© 2016 CurrencyFair Ltd
CLI redesign
Docker CLI is always a privileged client for the daemon. Thousand
of u...
6 October 2016
© 2016 CurrencyFair Ltd
CLI redesign
Advanced users or scripts to build complex solution:
find '/var/lib/do...
6 October 2016
© 2016 CurrencyFair Ltd
But was time for a
little re-design
6 October 2016
© 2016 CurrencyFair Ltd
top level command
● checkpoint Manage checkpoints
● container Manage containers
● i...
6 October 2016
© 2016 CurrencyFair Ltd
Keep your environment clean
docker system
docker system info == docker info
docker ...
6 October 2016
© 2016 CurrencyFair Ltd
Plugins are out
of
experimental
6 October 2016
© 2016 CurrencyFair Ltd
Experimental
is just a flag now!
Not a different build
6 October 2016
© 2016 CurrencyFair Ltd
t-shirt time!
6 October 2016
© 2016 CurrencyFair Ltd
Welcome compose v3
version: ‘3’
services:
micro:
image: gianarb/micro:1.2.0
deploy:...
6 October 2016
© 2016 CurrencyFair Ltd
Secrets are available in Swarm mode
docker secret create well ./secret.json
docker ...
6 October 2016
© 2016 CurrencyFair Ltd
Squash layers
docker build --squash -t jenkins-sq .
6 October 2016
© 2016 CurrencyFair Ltd
Demo
Time!
6 October 2016
© 2016 CurrencyFair Ltd
Questions?
● twitter.com/gianab
● github.com/gianarb/micro
● github.com/gianarb/doc...
Upcoming SlideShare
Loading in …5
×

DockerDublin Meetup - News about Docker 1.13

289 views

Published on

Docker released 1.13. As usual full of features and bug fixes. During the Dublin Meetup I presented news and I run a demo about image squash, stack and compose v3, secrets and so on.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

DockerDublin Meetup - News about Docker 1.13

  1. 1. 6 October 2016 © 2016 CurrencyFair Ltd News about Docker 1.13 Gianluca Arbezzano Software Engineer at CurrencyFair
  2. 2. 6 October 2016 © 2016 CurrencyFair Ltd Docker 1.13 makes production environment good.
  3. 3. 6 October 2016 © 2016 CurrencyFair Ltd CLI redesign Docker CLI is always a privileged client for the daemon. Thousand of users learn how to run contains with this tools: docker run -it alpine sleep 10
  4. 4. 6 October 2016 © 2016 CurrencyFair Ltd CLI redesign Advanced users or scripts to build complex solution: find '/var/lib/docker/volumes/' -mindepth 1 -maxdepth 1 -type d | grep -vFf <( docker ps -aq | xargs docker inspect | jq -r '.[]|.Mounts|.[]|.Name|select(.)' )
  5. 5. 6 October 2016 © 2016 CurrencyFair Ltd But was time for a little re-design
  6. 6. 6 October 2016 © 2016 CurrencyFair Ltd top level command ● checkpoint Manage checkpoints ● container Manage containers ● image Manage images ● network Manage networks ● node Manage Swarm nodes ● plugin Manage plugins ● secret Manage Docker secrets ● service Manage services ● stack Manage Docker stacks ● swarm Manage Swarm ● system Manage Docker ● volume Manage volumes 100% compatible with the old commands: run, stop, start and so on http://blog.arungupta.me/docker-1-13-management-commands/
  7. 7. 6 October 2016 © 2016 CurrencyFair Ltd Keep your environment clean docker system docker system info == docker info docker system event => to follow stream’s events from deamon docker system prune => to clean your env from bad layers, volumes and networks
  8. 8. 6 October 2016 © 2016 CurrencyFair Ltd Plugins are out of experimental
  9. 9. 6 October 2016 © 2016 CurrencyFair Ltd Experimental is just a flag now! Not a different build
  10. 10. 6 October 2016 © 2016 CurrencyFair Ltd t-shirt time!
  11. 11. 6 October 2016 © 2016 CurrencyFair Ltd Welcome compose v3 version: ‘3’ services: micro: image: gianarb/micro:1.2.0 deploy: mode: replicated replicas: 2 resources: limits: cpus: '0.25' memory: 512M reservations: cpus: '0.25' memory: 256M restart_policy: condition: on-failure delay: 5s max_attempts: 3 window: 120s Compatible with Swarm mode docker stack create -c ./docker-compose.yml frontend
  12. 12. 6 October 2016 © 2016 CurrencyFair Ltd Secrets are available in Swarm mode docker secret create well ./secret.json docker service create --secret well alpine sleep 1000 Secrets are running in directory /run
  13. 13. 6 October 2016 © 2016 CurrencyFair Ltd Squash layers docker build --squash -t jenkins-sq .
  14. 14. 6 October 2016 © 2016 CurrencyFair Ltd Demo Time!
  15. 15. 6 October 2016 © 2016 CurrencyFair Ltd Questions? ● twitter.com/gianab ● github.com/gianarb/micro ● github.com/gianarb/docker-stack ● scaledocker.com ● gianarb.it/blog/docker-the-fundamentals

×