AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Install docker on centos 79/12/2023 Now the Docker should report the new image: ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE hello-world latest 1815c82652c0 7 weeks ago 1.84 kBĪs you can see, Docker images can be really tiny, which makes them easy to send around the Internet. So, let’s get a minimal image from the Docker Hub for checking our installation: ~]# docker pull hello-world Using default tag: latest latest: Pulling from library/hello-world b04784fba78d: Pull complete Digest: sha256:f3b3b28a45160805bb16542c9531888519430e9e6d6ffc09d72261b0d26ff74f Status: Downloaded newer image for hello-world:latest You wont have any images when Docker command runs successfully the first ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE ~]#.If the Docker service starts and is running successfully, you will be able to notice a few changes on your system. If all goes well and there are no errors, you should be able to start the Docker daemon: ~]# sudo systemctl start docker Next, install the necessary Docker RPMs: ~]# mkdir docker ~]# cd docker/ docker]# wget \ docker]# rpm -ivh docker-engine-1.12.86_64.rpm docker-engine-selinux-1.12.rpm You could follow this process on any bare-metal Linux server or a you could just spin up a DevCloud instance for it.įirst, since we are not using yum for the Docker installation, we need to manually install a few packages Docker depends on: ~]# yum install -y libtool-ltdl libseccomp Official documentation for working with this version is now hard to find on the Docker site, as are easy ways of installing with yum. But some other platforms like Kubernetes which use Docker as the underlying container layer still work with older versions like 1.12. Docker is pretty much the de facto standard for running containers on Linux.Īs of this writing, the latest stable version of Docker is 17.06.
0 Comments
Read More
Leave a Reply. |