Difference between revisions of "Docker"

From Freephile Wiki
Jump to navigation Jump to search
(updated)
Line 1: Line 1:
Linux containers (LXC)<ref>https://help.ubuntu.com/lts/serverguide/lxc.html</ref> technology has taken off with Docker https://www.docker.com/ <ref>[http://opensource.com/business/14/7/interview-j%C3%A9r%C3%B4me-petazzoni-docker See the interview on opensource.com]</ref> <ref>more info from Wikipedia [[wp:Docker_(software)]]</ref> which was released as open source in March 2013.  RedHat and others have collaborated with the corporate backer to the technology seemingly to compete with Canonical's JuJu https://juju.ubuntu.com/ and Charm technology which also is based on Linux containers.  Linux containers are built into the linux kernel, and so offer a lightweight native method of virtualization compared to more traditional (heavyweight) virtualization techniques like VMWare, Vagrant, VirtualBox.
+
[[File:Docker-architecture.svg|thumb|right|Docker Architecture|link=https://docs.docker.com/get-started/overview/#docker-architecture]]
 +
Linux containers (LXC)<ref>https://help.ubuntu.com/lts/serverguide/lxc.html</ref> technology has taken off with Docker https://www.docker.com/ <ref>[http://opensource.com/business/14/7/interview-j%C3%A9r%C3%B4me-petazzoni-docker See the interview on opensource.com]</ref> <ref>more info from Wikipedia [[wp:Docker_(software)]]</ref> which was released as open source in March 2013.  RedHat and others have collaborated with the corporate backer to the technology seemingly to compete with Canonical's JuJu https://juju.ubuntu.com/ and Charm technology which also is based on Linux containers.  Linux containers are built into the linux kernel, and so offer a lightweight native method of virtualization compared to more traditional (heavyweight) virtualization techniques like [[VMWare]], [[Vagrant]], [[VirtualBox]].
  
Essentially, the difference is the hypervisor and OS.  Whereas containers are implemented with kernel features like namespaces, cgroups and chroots, a full VM requires a hypervisor plus an operating system in the VM.
+
Essentially, the difference is the hypervisor and OS.  Whereas containers are implemented with kernel features like namespaces, cgroups and chroots, a full VM requires a hypervisor plus an operating system in the VM.  Docker runs a [https://docs.docker.com/get-started/overview/#docker-architecture docker daemon] on the Docker Host.
  
https://www.docker.com/
 
  
 
{{Video|url=https://www.youtube.com/watch?v=YFl2mCHdv24}}
 
{{Video|url=https://www.youtube.com/watch?v=YFl2mCHdv24}}
 
{{Video|url=https://www.youtube.com/watch?v=Qw9zlE3t8Ko}}
 
{{Video|url=https://www.youtube.com/watch?v=Qw9zlE3t8Ko}}
  
== Bring your own Node ==
+
* https://docs.docker.com/develop/
Docker Cloud lets you use your own host as a node to run containers. In order to do this, you have to first install the Docker Cloud Agent.
+
* https://docs.docker.com/engine/install/
<source lang="bash">
 
curl -Ls https://get.cloud.docker.com/ | sudo -H sh -s 7521e_PRIVATEKEY_7521e
 
</source>
 
And you must have incoming port 2375 open plus have 6783tcp/udp open
 
 
 
The following Linux distributions are supported:
 
 
 
* Ubuntu 14.04, 15.04
 
* Debian 8
 
* Centos 7
 
* RedHat Linux 7
 
* Fedora 21, 22
 
 
 
== Pricing ==
 
 
 
Pricing depends on whether it's cloud or premise (datacenter), and ranges from $15/mo for a single node in the cloud to $150 or $300/mo per node for datacenter engine depending on the level of support.<ref>https://www.docker.com/pricing#/pricing_cloud</ref>
 
 
 
 
 
== Installing on Ubuntu ==
 
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/  Add the Docker repo, and install
 
Note: it's only supported on 64-bit Ubuntu
 
  
 
{{References}}
 
{{References}}

Revision as of 17:33, 5 August 2020

Docker Architecture

Linux containers (LXC)[1] technology has taken off with Docker https://www.docker.com/ [2][3] which was released as open source in March 2013. RedHat and others have collaborated with the corporate backer to the technology seemingly to compete with Canonical's JuJu https://juju.ubuntu.com/ and Charm technology which also is based on Linux containers. Linux containers are built into the linux kernel, and so offer a lightweight native method of virtualization compared to more traditional (heavyweight) virtualization techniques like VMWare, Vagrant, VirtualBox.

Essentially, the difference is the hypervisor and OS. Whereas containers are implemented with kernel features like namespaces, cgroups and chroots, a full VM requires a hypervisor plus an operating system in the VM. Docker runs a docker daemon on the Docker Host.


References[edit source]