The contents of the the slides have been liberally borrowed from Docker Slideshare materials.
Booting 15 Openstack VMs
The Docker daemon
The Docker daemon runs on a host machine. The user does not directly interact with the daemon, but instead through the Docker client (or API).
The Docker client
The Docker client, in the form of the docker binary, is the primary user interface to Docker. It accepts commands from the user and communicates back and forth with a Docker daemon.
Docker images
Docker registries
Docker containers
FROM rdocker.mcp.com:5000/oraclejre
WORKDIR /opt
ADD jars/api.jar /opt/api.jar
EXPOSE 8080
CMD ["java", "-jar", "api.jar"]
Dockerfile
$ docker run -d --name api -p 8080:8080 rdocker.mcp.com:5000/api
$ docker logs api
2014-08-12 23:32:14,193 INFO [pool-1-thread-1] com.datastax.driver.core.policies.DCAwareRoundRobinPolicy --- Using data-center name 'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2014-08-12 23:32:14,198 INFO [main] org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer --- Tomcat started on port(s): 8080/http
2014-08-12 23:32:14,199 INFO [main] com.hds.bel.storage.rest.app.RestApplication --- Started RestApplication in 9.962 seconds (JVM running for 10.619)
2014-08-12 23:32:14,203 INFO [main] com.hds.bel.storage.rest.app.RestApplication --- Running test application org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5ce1f2b6
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1c95b8914a58 rdocker.mcp.com:5000/api:latest java -jar api.jar 24 hours ago Up 24 hours api
With Docker, I can:
Learn more at www.docker.io