CentOS virtual machine

We now need our VM where we will install and execute our containers locally instead of in the cloud or on our own DEV machine to avoid cluttering and to explore.

Instead of downloading and installing the OS on a newly created VM image, we will download a pre-built VM image for VirtualBox, which is available for free. We will use a CentOS version 7 Base image. It has minimal packages installed, yet most of the basic libraries are already available. It does not have a graphical interface; we do not need one--we will SSH into it.

  1. Download the CentOS VM image from https://virtualboxes.org/images/centos/
  2. Select CentOS 7.0 Base to download
  3. Add and import the VM image into your VirtualBox
  4. You should be up and running soon--the ID/PWD for the image is published on the download page

You might be thinking that it would be better to install docker on Windows and use the container in the VM from there. Surely, it would save time, but remember that Windows 10 Home does not have hyper-V, so you can't run Linux containers. Moreover, you will need Docker Toolbox, which will eventually install VirtualBox. The scene is the same for Windows 7; if you have Windows 10 Pro or greater, you can then play around with Docker easily.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.15.43