![]() ![]() Requires ping and ip on the machine, on Debian these are found in the apt packages inetutils-ping and iproute. Use an entrypoint file to create an entry in /etc/hosts to point to the host. Move the shell to the master server 'k8s-master' and run the command below to set up the kubernetes master. ![]() In this step, we will initialize the kubernetes master cluster configuration. # allow users to access docker by adding them to the docker group Step 2 - Kubernetes Cluster Initialization. # any ports on the host you want to access from the containers (strapi port 1337 here)įirewall-cmd -permanent -zone=trusted -add-port=1337/tcpĬreate a group named “docker” and add any users that are allowed to create containers. # trust the docker interfaceįirewall-cmd -permanent -zone=trusted -change-interface=docker0įirewall-cmd -permanent -direct -add-rule ipv4 filter INPUT 4 -i docker0 -j ACCEPT Now we can install Docker: sudo yum install docker-engine Now we need to enable the Docker service: sudo systemctl enable rvice Now we can start the Docker service: sudo systemctl start docker Load Docker HDP sandbox We will attempt to load the HDP sandbox into Docker using the default Docker settings. Restart firewalld to pick up the changes. Following these simple steps to start using Docker Compose on CentOS. Update firewalld to allow host/container traffic. yum install -y yum-utils device-mapper-persistent-data lvm2 Docker Engine is available on a variety of Linux platforms, macOS and Windows 10 through Docker Desktop, and as a static binary installation. In this article, I will take you through the steps to install docker on CentOS 7. ![]() Install Docker-CE (not just “docker) to get the latest version on CentOS. Check from the rpm database if docker is installed or not. ![]()
0 Comments
Leave a Reply. |