Skip to content

Instantly share code, notes, and snippets.

@tkota0726
Last active June 17, 2019 14:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tkota0726/b4abccef07be925e7ade2111e118b1a6 to your computer and use it in GitHub Desktop.
Instruction about how to install Docker in Centos7

How to install Docker on Centos7

I would like you to be enable to use Docker command in HPC. I looked at the instruction about how to install Docker in Centos7 and showed it as the following steps. I successfully installed these commands on my server followed by the steps.

Steps to install Docker and Docker compose

  • Docker

sudo yum install -y yum-utils device-mapper-persistent-data lvm2

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo yum install docker-ce

sudo systemctl enable docker.service

sudo systemctl enable docker.service

  • Docker-compose

sudo yum install epel-release

sudo pip install docker-compose

The command which I want to use

  • Docker command

  • Docker-compose command

Reference

https://github.com/NaturalHistoryMuseum/scratchpads2/wiki/Install-Docker-and-Docker-Compose-(Centos-7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment