How does Vagrant automatically install Docker on CentOS?

I wonder how Vagrant is installing Docker with the Docker provisioner. Is Vagrant using packages from some package-manager or is it built from source? Which commands were fired to finish the installation process?

  • Dockerfile - Defining an ENV variable with a dynamic value
  • AWS Gogs deployment using Docker image
  • Docker container without ipv4 address
  • Rails 5 apps connected to Docker + Puma (Nginx) + PostgreSQL
  • How to manage secrets in a Microservice / Container / Cloud environment?
  • How to intercept the request from Spring Interceptor to Node Service
  • docker-machine ls shows state timeout whenever another docker machine is created
  • Best way to pass config file during Docker build
  • How to run Consul on docker with initial key-value pair data?
  • WordPress Docker Proxy Error 502 : The proxy server received an invalid response from an upstream server
  • Why docker login command saves unencrypted password on my computer?
  • Why does Docker “ancestry” API command not work?
  • 2 Solutions collect form web for “How does Vagrant automatically install Docker on CentOS?”

    Okay, found it by myself. Here’s the sourcecode.

    Vagrant is using yum on CentOS.
    For CentOS 6 Vagrant uses the package ´docker-io´ in EPEL and for CentOS 7 ´docker´ in the Extras Repo.

    1: if you must use centos . you must update you centos python version => 7.0
    2: if you don’t . pls use coreos . coreos begin with docker 🙂

    if you want to get commond line for install docker-io .

    add commonet

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.