- Docker allows for OS-level virtualization of applications into lightweight isolated containers. Docker Hub is used to store and distribute Docker images.
- Rancher provides tools for orchestrating Docker containers across multiple hosts. The Rancher Catalog allows deploying Dockerized applications in a standardized way using templates that prompt for configurable options.
- The document discusses using Docker and Rancher together to build, deploy, manage and scale containerized applications both on a single host and across multiple hosts for production use.
3. What is Docker?
● OS level virtualization - “containerization”
● First released in 2013 - Solomon Hykes - dotCloud
● Maintained and and developed by Docker Inc.
● Lightweight than virtual machines
● Single operating-system kernel
● Portable
● Scalable
● Stackable
4. Running Applications w/ Docker
$ docker run plone:5
$ docker run eeacms/eionet:5.1-1.0
$ docker run registry.gitlab.com/avoinea/docker:3.5
6. Custom Docker Image: docker-entrypoint.sh
#!/bin/bash
set -e
# Make sure that the application can write within data volume
chown -R plone:plone /data
# Move the main application to `PID 1` by using `exec`
# Use a non-root user to start your app
exec gosu plone bin/instance "$@"