aimple.blogg.se

Centos 7 install docker
Centos 7 install docker










centos 7 install docker centos 7 install docker

docker-ce]# scp the command rpm -ivh -replacepkgs -replacefiles *.rpm to install docker-ce. docker-ce]# tar cf *.rpmĬopy the the to the destination machine with scp or ftp etc. Use the tar cf *.rpm to pack the rpm packages. Public key for audit-libs-python-2.7.86_64.rpm is not installed Warning: /root/docker-ce/audit-libs-python-2.7.86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ~]# mkdir ~]# cd docker-ce]# yumdownloader -resolve docker-ce device-mapper-libs systemd libseccomp -q Let’s make a directory named docker-ce and use yumdownloader -resolve docker-ce-17.12.0. to download docker-ce and all its dependency packages. Loading mirror speeds from cached hostfileħ:device-mapper-libs-1.02.686 : Device-mapper shared library

centos 7 install docker

For example: # yum provides libdevmapper.so.1.02

centos 7 install docker

Use the yum provides to find what package provides the given value libxxx. You can also use yum deplist docker-ce-17.12.0. to list dependency packages. Use repoquery -R docker-ce-17.12.0. to list all dependency packages. Use the yum list docker-ce -showduplicates | sort -r to list all available docker-ce packages. Use the following command to setup the docker stable repository. Let’s run a container with the command docker run -rm -it centos:7 bash as our operating environment.












Centos 7 install docker