Para instalar docker-compose, primero se debe instalar docker
[app5 ~]# yum install docker
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager rhel-7-server-extras-rpms | 2.0 kB 00:00:00 rhel-7-server-optional-rpms | 2.0 kB 00:00:00 rhel-7-server-rpms | 2.0 kB 00:00:00 rhel-7-server-supplementary-rpms | 2.0 kB 00:00:00 Dependencies Resolved ========================================================================================================================== Package Arch Version Repository Size ========================================================================================================================== Installing: docker x86_64 2:1.13.1-88.git07f3374.el7 rhel-7-server-extras-rpms 17 M Installing for dependencies: PyYAML x86_64 3.10-11.el7 rhel-7-server-rpms 153 k atomic-registries x86_64 1:1.22.1-26.gitb507039.el7 rhel-7-server-extras-rpms 35 k audit-libs-python x86_64 2.8.4-4.el7 rhel-7-server-rpms 76 k checkpolicy x86_64 2.5-8.el7 rhel-7-server-rpms 295 k container-selinux noarch 2:2.74-1.el7 rhel-7-server-extras-rpms 37 k container-storage-setup noarch 0.11.0-2.git5eaf76c.el7 rhel-7-server-extras-rpms 35 k containers-common x86_64 1:0.1.31-7.gitb0b750d.el7 rhel-7-server-extras-rpms 18 k docker-client x86_64 2:1.13.1-88.git07f3374.el7 rhel-7-server-extras-rpms 3.8 M docker-common x86_64 2:1.13.1-88.git07f3374.el7 rhel-7-server-extras-rpms 95 k docker-rhel-push-plugin x86_64 2:1.13.1-88.git07f3374.el7 rhel-7-server-extras-rpms 1.9 M libsemanage-python x86_64 2.5-14.el7 rhel-7-server-rpms 113 k libyaml x86_64 0.1.4-11.el7_0 rhel-7-server-rpms 55 k oci-register-machine x86_64 1:0-6.git2b44233.el7 rhel-7-server-extras-rpms 1.1 M oci-systemd-hook x86_64 1:0.1.18-2.git3efe246.el7 rhel-7-server-extras-rpms 34 k oci-umount x86_64 2:2.3.4-2.git87f9237.el7 rhel-7-server-extras-rpms 32 k policycoreutils-python x86_64 2.5-29.el7 rhel-7-server-rpms 456 k python-IPy noarch 0.75-6.el7 rhel-7-server-rpms 32 k python-pytoml noarch 0.1.14-1.git7dea353.el7 rhel-7-server-extras-rpms 18 k setools-libs x86_64 3.3.8-4.el7 rhel-7-server-rpms 620 k Updating for dependencies: audit x86_64 2.8.4-4.el7 rhel-7-server-rpms 250 k audit-libs i686 2.8.4-4.el7 rhel-7-server-rpms 101 k audit-libs x86_64 2.8.4-4.el7 rhel-7-server-rpms 100 k Transaction Summary ========================================================================================================================== Install 1 Package (+19 Dependent packages) Upgrade ( 3 Dependent packages) Total download size: 27 M Is this ok [y/d/N]: y Downloading packages:
El paso siguiente es bajar de internet, el docker compose, se puede bajar de esta web :
https://github.com/docker/compose/releases
Al ingresar al link mencionado arriba, me baja el archivo docker-compose-Linux-x86_64 , el cual lo debo poner en /usr/local/bin/ con el nombre docker-compose tal como muestro a continuacion:
mv docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
Eso es todo
No hay comentarios:
Publicar un comentario
Comentarios