SlideShare a Scribd company logo
What's new in Docker 1.13?
Michael Irwin - February 8, 2017
Restructured cli
Number of commands at top level was becoming
quite large
E ort being made to better group and organize
commands
docker images -> docker image list
docker rmi -> docker image rm
docker create -> docker container create
docker ps -> docker container ls
Use DOCKER_HIDE_LEGACY_COMMANDS=1 to only show
new command structure
All legacy commands are still supported in 1.13. Not
sure when removed yet...
Experimental built-in
Experimental builds use to be separate
Made it hard to play with experimental features
Now, add --experimental to dockerd settings
Setting available directly from Docker for
Mac/Windows GUI
Find out if experimental is enabled using docker
system info
> docker system info
...
Experimental: true
...
CLI Backwards Compatibility
Ever get hit with this?
> docker ps
Error response from daemon: client is newer than server
Docker for Mac/Windows are always using the latest
client. Servers may not be. Commands would then
cause the error.
CLI Backwards Compatibility
Ever get hit with this?
> docker ps
Error response from daemon: client is newer than server
Docker for Mac/Windows are always using the latest
client. Servers may not be. Commands would then
cause the error.
No longer an issue!
CLI round-trips with daemon to determine version
and available commands
Swarm Encrypts at Rest
Docker Swarm's RAFT database keeps data encrypted
at rest with decryption keys on lesystem
With new --autolock ag, user has to provide key
to unlock manager
$ docker swarm init --autolock
Swarm initialized: current node (mh1h7vx93t1i0digtdenvqjx1) is now a manager
To add a worker to this swarm, run the following command:
docker swarm join 
--token SWMTKN-1-32lrgk2aa5ubngy1u3tb85j3nh9gy1-072qmokabz6cqma5oaxi 
172.31.10.227:2377
To add a manager to this swarm, run 'docker swarm join-token manager'
To unlock a swarm manager after it restarts, run the docker swarm unlock
command and provide the following key:
SWMKEY-1-CV8QI2JwrGwpGcP9m/cQ+lteVIX12ZjvWV3ol2reNMU
Please remember to store this key in a password manager, since without it yo
will not be able to restart the manager.
...
sudo shutdown -r now
docker swarm unlock < ./swarm-key
Compose to Swarm
New V3 Compose syntax released
Removes non-portable options (volume-driver,
volume-from, and a few others)
Added Swarm options (replicas, mode, etc.)
docker stack deploy --compose-file=docker-compose-stack.yml my-app
docker stack list
docker stack rm my-app
Sample V3 Compose le
version: '3'
services:
app:
image: mikesir87/cats:1.0
ports:
- 5000:5000
deploy:
replicas: 2
update_config:
parallelism: 1
delay: 10s
Data Management Commands
New subcommands under docker system ...
docker system df will show Docker's disk usage
docker system prune will remove all inactive
images/containers/volumes
Inactive images have no containers based from
image
Inactive containers are non-running containers
Inactive volumes are unused volumes
Secret Management
Ability to create secrets for Swarm cluster
Add a secret to a Swarm cluster...
Secrets are available in /run/secrets/
This example would have a le named
/run/secrets/app-properties
docker secret create app-properties app.properties
curl http://example.com/properties | docker secret create app-properties
docker service create --secret app-properties --name=app -p 80:80 nginx
Other Orchestration Updates
Pin image by digest
When running image by tag, Swarm uses digest to
ensure all nodes running same version
Service updates can now rollback, instead of continue
or abort
Added failure thresholds to rollouts
Experimental features
docker build --squash - produces only one layer
for a build
docker service logs - aggregates logs for a service
across all nodes
That's it!

More Related Content

What's hot

Docker advance topic
Docker advance topicDocker advance topic
Docker advance topic
Kalkey
 
Getting Started with Docker
Getting Started with Docker Getting Started with Docker
Getting Started with Docker
Anup Segu
 
Kubernetes in Google Cloud
Kubernetes in Google CloudKubernetes in Google Cloud
Kubernetes in Google Cloud
Abilash Rajasekaran
 
Configure jasmine and karma for code coverage
Configure jasmine and karma for code coverageConfigure jasmine and karma for code coverage
Configure jasmine and karma for code coverage
Deepak More
 
VMware Workstation 9.0.1 Build 894247 Final Keygen
VMware Workstation 9.0.1 Build 894247 Final KeygenVMware Workstation 9.0.1 Build 894247 Final Keygen
VMware Workstation 9.0.1 Build 894247 Final Keygen
RashondaEchevarria
 
Powershell direct
Powershell directPowershell direct
Powershell direct
Naseem Khoodoruth
 
swarmmode-dojo
swarmmode-dojoswarmmode-dojo
swarmmode-dojo
Clarence Bakirtzidis
 
Talk about Docker
Talk about DockerTalk about Docker
Talk about Docker
Meng-Ze Lee
 
Squid 3 for windows blogbudaqdegil.blogspot.com
Squid 3 for windows blogbudaqdegil.blogspot.comSquid 3 for windows blogbudaqdegil.blogspot.com
Squid 3 for windows blogbudaqdegil.blogspot.com
Johan Roesdy
 
Dspace
DspaceDspace
Justin Corbin Portfolio Labs
Justin Corbin Portfolio LabsJustin Corbin Portfolio Labs
Justin Corbin Portfolio LabsJustin Corbin
 
Gns3 0.5 Tutorial
Gns3 0.5 TutorialGns3 0.5 Tutorial
Gns3 0.5 Tutorialrusevi
 
Setup Kubernetes with flannel on ubuntu platform
Setup Kubernetes with flannel on ubuntu platformSetup Kubernetes with flannel on ubuntu platform
Setup Kubernetes with flannel on ubuntu platform
Ajeet Singh
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instance
kamarul kawnayeen
 
Installing and running Postfix within a docker container from the command line
Installing and running Postfix within a docker container from the command lineInstalling and running Postfix within a docker container from the command line
Installing and running Postfix within a docker container from the command line
dotCloud
 
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Brice Argenson
 
Red hat lvm cheatsheet
Red hat   lvm cheatsheetRed hat   lvm cheatsheet
Red hat lvm cheatsheet
Prakash Ghosh
 
Conda cheatsheet
Conda cheatsheetConda cheatsheet
Conda cheatsheet
MoviesOnly
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
cawamata
 
Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.
Naveen Kharwar
 

What's hot (20)

Docker advance topic
Docker advance topicDocker advance topic
Docker advance topic
 
Getting Started with Docker
Getting Started with Docker Getting Started with Docker
Getting Started with Docker
 
Kubernetes in Google Cloud
Kubernetes in Google CloudKubernetes in Google Cloud
Kubernetes in Google Cloud
 
Configure jasmine and karma for code coverage
Configure jasmine and karma for code coverageConfigure jasmine and karma for code coverage
Configure jasmine and karma for code coverage
 
VMware Workstation 9.0.1 Build 894247 Final Keygen
VMware Workstation 9.0.1 Build 894247 Final KeygenVMware Workstation 9.0.1 Build 894247 Final Keygen
VMware Workstation 9.0.1 Build 894247 Final Keygen
 
Powershell direct
Powershell directPowershell direct
Powershell direct
 
swarmmode-dojo
swarmmode-dojoswarmmode-dojo
swarmmode-dojo
 
Talk about Docker
Talk about DockerTalk about Docker
Talk about Docker
 
Squid 3 for windows blogbudaqdegil.blogspot.com
Squid 3 for windows blogbudaqdegil.blogspot.comSquid 3 for windows blogbudaqdegil.blogspot.com
Squid 3 for windows blogbudaqdegil.blogspot.com
 
Dspace
DspaceDspace
Dspace
 
Justin Corbin Portfolio Labs
Justin Corbin Portfolio LabsJustin Corbin Portfolio Labs
Justin Corbin Portfolio Labs
 
Gns3 0.5 Tutorial
Gns3 0.5 TutorialGns3 0.5 Tutorial
Gns3 0.5 Tutorial
 
Setup Kubernetes with flannel on ubuntu platform
Setup Kubernetes with flannel on ubuntu platformSetup Kubernetes with flannel on ubuntu platform
Setup Kubernetes with flannel on ubuntu platform
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instance
 
Installing and running Postfix within a docker container from the command line
Installing and running Postfix within a docker container from the command lineInstalling and running Postfix within a docker container from the command line
Installing and running Postfix within a docker container from the command line
 
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
 
Red hat lvm cheatsheet
Red hat   lvm cheatsheetRed hat   lvm cheatsheet
Red hat lvm cheatsheet
 
Conda cheatsheet
Conda cheatsheetConda cheatsheet
Conda cheatsheet
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.Improving WordPress Theme Development Workflow - Naveen Kharwar.
Improving WordPress Theme Development Workflow - Naveen Kharwar.
 

Similar to What's New in Docker 1.13?

Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0 Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0
Docker, Inc.
 
Docker Swarm & Machine
Docker Swarm & MachineDocker Swarm & Machine
Docker Swarm & Machine
Eueung Mulyana
 
Academy PRO: Docker. Lecture 3
Academy PRO: Docker. Lecture 3Academy PRO: Docker. Lecture 3
Academy PRO: Docker. Lecture 3
Binary Studio
 
Docker Introduction.pdf
Docker Introduction.pdfDocker Introduction.pdf
Docker Introduction.pdf
OKLABS
 
Academy PRO: Docker. Part 4
Academy PRO: Docker. Part 4Academy PRO: Docker. Part 4
Academy PRO: Docker. Part 4
Binary Studio
 
Docker 1.12 and swarm mode
Docker 1.12 and swarm modeDocker 1.12 and swarm mode
Docker 1.12 and swarm mode
Wesley Charles Blake
 
Docker 進階實務班
Docker 進階實務班Docker 進階實務班
Docker 進階實務班
Philip Zheng
 
廣宣學堂: 容器進階實務 - Docker進深研究班
廣宣學堂: 容器進階實務 - Docker進深研究班廣宣學堂: 容器進階實務 - Docker進深研究班
廣宣學堂: 容器進階實務 - Docker進深研究班
Paul Chao
 
Containerizing Web Application with Docker
Containerizing Web Application with DockerContainerizing Web Application with Docker
Containerizing Web Application with Docker
msyukor
 
Docker: A New Way to Turbocharging Your Apps Development
Docker: A New Way to Turbocharging Your Apps DevelopmentDocker: A New Way to Turbocharging Your Apps Development
Docker: A New Way to Turbocharging Your Apps Development
msyukor
 
Docker Essentials Workshop— Innovation Labs July 2020
Docker Essentials Workshop— Innovation Labs July 2020Docker Essentials Workshop— Innovation Labs July 2020
Docker Essentials Workshop— Innovation Labs July 2020
CloudHero
 
Docker-machine
Docker-machineDocker-machine
Docker-machine
Sabyrzhan Tynybayev
 
Drupal Development with Docker
Drupal Development with DockerDrupal Development with Docker
Drupal Development with Docker
Promet Source
 
From zero to Docker
From zero to DockerFrom zero to Docker
From zero to Docker
Giovanni Toraldo
 
Azure from scratch part 5 By Girish Kalamati
Azure from scratch part 5 By Girish KalamatiAzure from scratch part 5 By Girish Kalamati
Azure from scratch part 5 By Girish Kalamati
Girish Kalamati
 
Docker in a JS Developer’s Life
Docker in a JS Developer’s LifeDocker in a JS Developer’s Life
Docker in a JS Developer’s Life
GlobalLogic Ukraine
 
Things I've learned working with Docker Support
Things I've learned working with Docker SupportThings I've learned working with Docker Support
Things I've learned working with Docker Support
Sujay Pillai
 
Docker
DockerDocker
Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707
Clarence Ho
 
Introction to docker swarm
Introction to docker swarmIntroction to docker swarm
Introction to docker swarm
Hsi-Kai Wang
 

Similar to What's New in Docker 1.13? (20)

Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0 Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0
 
Docker Swarm & Machine
Docker Swarm & MachineDocker Swarm & Machine
Docker Swarm & Machine
 
Academy PRO: Docker. Lecture 3
Academy PRO: Docker. Lecture 3Academy PRO: Docker. Lecture 3
Academy PRO: Docker. Lecture 3
 
Docker Introduction.pdf
Docker Introduction.pdfDocker Introduction.pdf
Docker Introduction.pdf
 
Academy PRO: Docker. Part 4
Academy PRO: Docker. Part 4Academy PRO: Docker. Part 4
Academy PRO: Docker. Part 4
 
Docker 1.12 and swarm mode
Docker 1.12 and swarm modeDocker 1.12 and swarm mode
Docker 1.12 and swarm mode
 
Docker 進階實務班
Docker 進階實務班Docker 進階實務班
Docker 進階實務班
 
廣宣學堂: 容器進階實務 - Docker進深研究班
廣宣學堂: 容器進階實務 - Docker進深研究班廣宣學堂: 容器進階實務 - Docker進深研究班
廣宣學堂: 容器進階實務 - Docker進深研究班
 
Containerizing Web Application with Docker
Containerizing Web Application with DockerContainerizing Web Application with Docker
Containerizing Web Application with Docker
 
Docker: A New Way to Turbocharging Your Apps Development
Docker: A New Way to Turbocharging Your Apps DevelopmentDocker: A New Way to Turbocharging Your Apps Development
Docker: A New Way to Turbocharging Your Apps Development
 
Docker Essentials Workshop— Innovation Labs July 2020
Docker Essentials Workshop— Innovation Labs July 2020Docker Essentials Workshop— Innovation Labs July 2020
Docker Essentials Workshop— Innovation Labs July 2020
 
Docker-machine
Docker-machineDocker-machine
Docker-machine
 
Drupal Development with Docker
Drupal Development with DockerDrupal Development with Docker
Drupal Development with Docker
 
From zero to Docker
From zero to DockerFrom zero to Docker
From zero to Docker
 
Azure from scratch part 5 By Girish Kalamati
Azure from scratch part 5 By Girish KalamatiAzure from scratch part 5 By Girish Kalamati
Azure from scratch part 5 By Girish Kalamati
 
Docker in a JS Developer’s Life
Docker in a JS Developer’s LifeDocker in a JS Developer’s Life
Docker in a JS Developer’s Life
 
Things I've learned working with Docker Support
Things I've learned working with Docker SupportThings I've learned working with Docker Support
Things I've learned working with Docker Support
 
Docker
DockerDocker
Docker
 
Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707
 
Introction to docker swarm
Introction to docker swarmIntroction to docker swarm
Introction to docker swarm
 

Recently uploaded

Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 

Recently uploaded (20)

Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 

What's New in Docker 1.13?

  • 1. What's new in Docker 1.13? Michael Irwin - February 8, 2017
  • 2. Restructured cli Number of commands at top level was becoming quite large E ort being made to better group and organize commands docker images -> docker image list docker rmi -> docker image rm docker create -> docker container create docker ps -> docker container ls Use DOCKER_HIDE_LEGACY_COMMANDS=1 to only show new command structure All legacy commands are still supported in 1.13. Not sure when removed yet...
  • 3. Experimental built-in Experimental builds use to be separate Made it hard to play with experimental features Now, add --experimental to dockerd settings Setting available directly from Docker for Mac/Windows GUI Find out if experimental is enabled using docker system info > docker system info ... Experimental: true ...
  • 4. CLI Backwards Compatibility Ever get hit with this? > docker ps Error response from daemon: client is newer than server Docker for Mac/Windows are always using the latest client. Servers may not be. Commands would then cause the error.
  • 5. CLI Backwards Compatibility Ever get hit with this? > docker ps Error response from daemon: client is newer than server Docker for Mac/Windows are always using the latest client. Servers may not be. Commands would then cause the error. No longer an issue! CLI round-trips with daemon to determine version and available commands
  • 6. Swarm Encrypts at Rest Docker Swarm's RAFT database keeps data encrypted at rest with decryption keys on lesystem With new --autolock ag, user has to provide key to unlock manager
  • 7. $ docker swarm init --autolock Swarm initialized: current node (mh1h7vx93t1i0digtdenvqjx1) is now a manager To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-32lrgk2aa5ubngy1u3tb85j3nh9gy1-072qmokabz6cqma5oaxi 172.31.10.227:2377 To add a manager to this swarm, run 'docker swarm join-token manager' To unlock a swarm manager after it restarts, run the docker swarm unlock command and provide the following key: SWMKEY-1-CV8QI2JwrGwpGcP9m/cQ+lteVIX12ZjvWV3ol2reNMU Please remember to store this key in a password manager, since without it yo will not be able to restart the manager. ... sudo shutdown -r now docker swarm unlock < ./swarm-key
  • 8. Compose to Swarm New V3 Compose syntax released Removes non-portable options (volume-driver, volume-from, and a few others) Added Swarm options (replicas, mode, etc.) docker stack deploy --compose-file=docker-compose-stack.yml my-app docker stack list docker stack rm my-app
  • 9. Sample V3 Compose le version: '3' services: app: image: mikesir87/cats:1.0 ports: - 5000:5000 deploy: replicas: 2 update_config: parallelism: 1 delay: 10s
  • 10. Data Management Commands New subcommands under docker system ... docker system df will show Docker's disk usage docker system prune will remove all inactive images/containers/volumes Inactive images have no containers based from image Inactive containers are non-running containers Inactive volumes are unused volumes
  • 11. Secret Management Ability to create secrets for Swarm cluster Add a secret to a Swarm cluster... Secrets are available in /run/secrets/ This example would have a le named /run/secrets/app-properties docker secret create app-properties app.properties curl http://example.com/properties | docker secret create app-properties docker service create --secret app-properties --name=app -p 80:80 nginx
  • 12. Other Orchestration Updates Pin image by digest When running image by tag, Swarm uses digest to ensure all nodes running same version Service updates can now rollback, instead of continue or abort Added failure thresholds to rollouts
  • 13. Experimental features docker build --squash - produces only one layer for a build docker service logs - aggregates logs for a service across all nodes