Ini adalah dokumen versi lama!
Docker
Docker is an open-source project that automates the deployment of Linux applications inside software containers. Quote of features from Docker web pages:
Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in.
Docker provides an additional layer of abstraction and automation of operating-system-level virtualization on Linux. Docker uses the resource isolation features of the Linux kernel such as cgroups and kernel namespaces, and a union-capable file system such as aufs and others to allow independent “containers” to run within a single Linux instance, avoiding the overhead of starting and maintaining virtual machines.1)
Install Docker :
sudo apt-get install docker.io
Kemudian unduh image ubuntu :
docker pull ubuntu
Jalankan container :
docker run -i -t ubuntu /bin/bash
Masuk deh ke container :
root@8ca23c655c05:/#
Setelah itu, keluar
root@8ca23c655c05:/# exit
Sekian dulu…