7. A commercial product,
built on
a development platform,
built on
infrastructure,
built on
standards.
Docker is building a stack to program the Internet
8. Isolation using Linux kernel features
namespaces
pid
mnt
net
uts
ipc
user
cgroups
memory
cpu
blkio
devices
14. Run a container
docker run
—env MONGODB_URI=mongodb://mongo:27017/test
-p 8090:8080
chanezon/spring-doge
15. docker-compose: running multiple containers
Run your stack with one command: docker-compose up
Describe your stack with one file: docker-compose.yml
version: '2'
services:
web:
image: chanezon/spring-doge
ports:
- "8080:8080"
links: ["mongo"]
environment:
- MONGODB_URI=mongodb://mongo:27017/test
mongo:
image: mongo
16. Using the service API
docker network create -d overlay dogenet
docker service create --name mongo
--network dogenet
mongo
docker service create --name doge
--network dogenet
--publish 8070:8080
--replicas 3
--env MONGODB_URI=mongodb://mongo:27017/test
chanezon/spring-doge
18. • Spring Boot, Spring Data
• AngularJS front-end
• docker 1.12
• compose 1.8.1
Spring Boot App using MongoDB
https://github.com/joshlong/spring-doge
https://github.com/chanezon/docker-tips/
https://github.com/chanezon/spring-doge
39. What’s New in Docker Datacenter (Nov 2016)
Orchestration &
Operations
• Built in Docker 1.12
orchestration
• Desired app state with
docker service
• Backwards compatibility
for ‘docker run’
• HTTP Routing Mesh
(experimental)
• Expanded storage
support
End to End
Security
• Integrated Notary
installation and HA as
part of DTR
• Layered image signing
and runtime policy
enforcement
• Improved Access
Controls
User Experience
• Refreshed GUI
• Node management
• GC performance
enhancements
• Container health checks
• Tag metadata and
activity streams
• Installation flags
42. CheConf2016 Agenda: Up Next
11:00 CheConf Keynote 15:00 Deploying Che to OpenShift
12:00 Language Server Protocol 15:30 Pair Programming in Che
12:30 Host any Project in Che 16:00 Building an IoT IDE with Che
13:30 Docker in Che 16:30 Codenvy: Che for Enterprises
14:00 Extending Che 17:00 Become Part of the Project
Editor's Notes
Local development environments
Self service app images
Build, Test, Deploy applications
Define app behavior and infra needs
Registry services for image storage, management and distribution
IT Ops maintains library of secure base content
Manage role based access to repos/images
Management consoles
Provision, manage infrastructure resources
Monitor, manage, scale infrastructure and applications