Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker on bare metal?

Tags:

On the Docker website I see mention of Docker on "bare metal". Does this mean that you can run Docker on hardware with no underlying OS?

If so, how would one install/implement it?

like image 525
Lloyd R. Prentice Avatar asked Nov 20 '13 06:11

Lloyd R. Prentice


2 Answers

Yes, the bare metal in the docs refers to a server that is not in a hypervisor or "cloud server". But running on bare metal.

However if you are interested there has been this experiment as running docker as PID 1 https://github.com/ibuildthecloud/only-docker

like image 154
Jessie Frazelle Avatar answered Sep 20 '22 10:09

Jessie Frazelle


Docker, at the time of writing, requires a Linux distribution to run on. From the docs:

To run properly, docker needs the following software to be installed at runtime:

  • iptables version 1.4 or later
  • Git version 1.7 or later
  • procps (or similar provider of a "ps" executable)
  • XZ Utils 4.9 or later
  • a properly mounted cgroupfs hierarchy (having a single, all-encompassing "cgroup" mount point is not sufficient)

[...]

In general, a 3.8 Linux kernel is the minimum requirement for Docker

like image 36
Bryan Avatar answered Sep 21 '22 10:09

Bryan