Solution Architect und Entwickler bei PDMLab
Microsoft MVP für ASP.NET
ASP.NET Web API / Microsoft Azure Advisor
In computing, microservices is a software architecture style, in which complex applications are composed of small, independent processes communicating with each other using language-agnostic APIs.
These services are small, highly decoupled and focus on doing a small task.
Package application in a container image
Move container image to another machine
Execute container based on that image
FROM ubuntu:14.04
MAINTAINER Docker Team <education@docker.com>
RUN apt-get update
RUN apt-get install -y nginx
RUN echo 'Hi, I am your father...erm in your container' \
>/usr/share/nginx/html/index.html
CMD [ "nginx", "-g", "daemon off;" ]
EXPOSE 80
Image name <username>/<reponame>
z.B. microsoft/dotnet
docker push
docker pull
$ time docker run ubuntu echo hello world
$ docker images
$ docker history <CID>
Nano Server
curl -fsSL https://get.docker.com/ | sh
Docker engine
Docker Machine
Docker Compose
Docker Cloud
Docker Hub
Docker Registry
Docker Swarm
$ docker-machine create --driver virtualbox dev
version: "2"
services:
web:
build: .
links:
- db
ports:
- "8000:8000"
db:
image: postgres