This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tips:dockercentos74 [2017/11/14 17:39] veera |
tips:dockercentos74 [2017/11/16 06:42] (current) veera [On SUSE Enterprise Linux 12] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Installing DockerCE on RHEL 7.4 ====== | + | ====== Installing Docker on various platforms ====== |
| + | |||
| + | |||
| + | ===== On RHEL 7.4 (eg on AWS) ===== | ||
| + | |||
| The version of Docker CE that works for us on RHEL7.4 is 17.03.02 | The version of Docker CE that works for us on RHEL7.4 is 17.03.02 | ||
| Line 5: | Line 10: | ||
| Post login | Post login | ||
| - | If you tried to install Docker CE on RHEL7.4 using @yum-install@ you might get | + | Step 1 is to add the Docker CE repo like so |
| + | |||
| + | <code bash> | ||
| + | yum install -y yum-utils | ||
| + | yum-config-manager --add-repo \ | ||
| + | https://download.docker.com/linux/centos/docker-ce.repo | ||
| + | yum makecache fast | ||
| + | </code> | ||
| + | |||
| + | If you tried to install Docker CE on RHEL7.4 using ''yum-install'' you might get | ||
| <code bash> | <code bash> | ||
| Line 17: | Line 31: | ||
| </code> | </code> | ||
| - | + | The reason this fails is that the latest version of Docker CE is not supported on RHEL7.4. You need to install the 17.03.02 version. Use this command | |
| - | You need to use this command | + | |
| <code> | <code> | ||
| Line 27: | Line 40: | ||
| - | Then the usual | + | Then the usual ''systemctl start docker'' ought to get you going. |
| + | |||
| + | |||
| + | |||
| + | ===== On SUSE Enterprise Linux 12 ===== | ||
| + | |||
| + | |||
| + | The good news here is Docker is probably already installed. | ||
| + | |||
| + | |||
| + | If you dont find it, use YAST and enable the Container module. For more instructions https://github.com/Shopify/docker/blob/master/docs/installation/linux/SUSE.md | ||
| - | <code> | ||
| - | systemctl start docker | ||
| - | </code> | ||
| - | You should have a working Docker now. | ||