Install Docker and Learn Basic Container Manipulation in CentOS and RHEL 7/6 – Part 1

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I’am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

11 Responses

  1. saik says:

    [[email protected] ~]# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 20G 0 disk
    ├─sda1 8:1 0 300M 0 part /boot
    ├─sda2 8:2 0 2G 0 part [SWAP]
    └─sda3 8:3 0 17.7G 0 part /
    sr0 11:0 1 1024M 0 rom
    loop0 7:0 0 100G 0 loop
    └─docker-8:3-34878977-pool 253:0 0 100G 0 dm
    loop1 7:1 0 2G 0 loop
    └─docker-8:3-34878977-pool 253:0 0 100G 0 dm
    [[email protected] ~]#

  2. saik says:

    Hello Sir,

    I installed docker container default it was created with a size of 100G now how to remove by using cmd.

    See the attachment I’m giving below sir…

  3. Chinmay says:

    Hi,

    I need to run multiple web sites on a single server. Each website will have different version of php. Please let me know whether a docker container will be available for such requirement or I have to create such containers on my own.

    If I need to create containers with different version of php, please guide me for the same as I am starting on docker today only. thanks in advance.

    • Matei Cezar says:

      This can be easily be accomplished with Vhosts. If you really want containers then you need to create a container for each application or version of php and expose it to outside.

  4. david says:

    Hi – A genuine question please. I use Proxmox for LXC containers which works great..what does Docker offer over proxmox ?

    • Matei Cezar says:

      Basically, I would say that the main difference is that LXC containers behave as a virtual machine mainly, opposed to Docker which runs an ephemeral single process. But that’s only just a simple difference. You should google it for more detailed info.

  5. alex says:

    Thanks for the article..
    I completed a 6 month contract for a large publisher involving the evaluation of various triple stores. I created a dockerfile for each triple store allowing us to quickly install the systems when required on various servers. I also created a system to monitor and graph the memory use of any number docker containers. They are a number of stumbling blocks that takes some experience to understand.
    Regards
    Alex
    http://Www.tilogeo.com

  6. Shambhu Rajput says:

    Thank you

  7. Matei Cezar says:

    You could use Docker on any machine, it doesn’t matter if you are running LAMP stack on it. As a recommendation try to run Docker on a fresh server or a test server, never play on production machines for the sake of security and resources.

  8. Shambhu says:

    hi
    For docker installation we need fresh OS or can install at running LAMP server?

    Regard

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *