Getting Started with docker docker is an open-source project that makes creating and managing Linux containers really easy. Containers are like extremely lightweight VMs – they allow code to run in isolation from other containers but safely share the machine’s resources, all without the overhead of a hypervisor. docker containers can boot extremely fast (in milliseconds!) which gives you unprecedented flexibility in managing load across your cluster. For example, instead of running chef on each of your VMs,
Install Apache with
Read full article from Getting Started with docker
docker run ubuntu /bin/echo hello world
docker run -t -i ubuntu /bin/bash
The -t
and -i
flags allocate a pseudo-tty and keep stdin open even if not attached. This will allow you to use the container like a traditional VM as long as the bash prompt is running.
apt-get update && apt-get install apache2
.Read full article from Getting Started with docker
No comments:
Post a Comment