Developers’ community in Pune, India. Started in April 2014. meetup.com/phpreboot & phpreboot.com PHP Reboot magazine PHPReboot.com is open source github.com/phpreboot/website
Easy Maintenance • Low cost 13 Host OS CPU RAM HD Network Hypervisor Guest OS Guest OS Guest OS Bins & Libs Bins & Libs Bins & Libs App1 App2 App3 • Disadvantages • Performance • Guest OS not as effective as Host OS • Long boot-up process
use Kernel of host OS. • Lighter • Smaller 14 Host OS CPU RAM HD Network Container Engine Bins & Libs Bins & Libs Bins & Libs App1 App2 App3 Note: Containerisation is just Virtualization at the OS level.
of host OS Mac OS X - Docker for Mac - Docker Toolbox Windows - Docker for Windows - Docker Toolbox Linux - Supports natively, without any other layer.
Pull image from registry. Tag is the version of image. docker run <image-name:tag> Runs an image. docker run <image-id> docker images List all images. docker ps List all running containers. docker ps -a List all containers. docker start <container-id> docker stop <container-id> docker rm <container-name> docker rmi <image-id> docker mi <repo:tag>
[command] [arguments] Common options: --rm - Remove the container once it is done. -i - run interactive mode. -t - run tty. -d - run in background. --name <name> - to give name to the container. -p <local port>:<container port> - port forwarding. docker exec -ti <container name> bash docker run -d -name web1 -p 8080:80 nginx