# 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. Restart firewalld to pick up the changes.įirewall-cmd -permanent -zone=trusted -change-interface=docker0įirewall-cmd -permanent -direct -add-rule ipv4 filter INPUT 4 -i docker0 -j ACCEPT Update firewalld to allow host/container traffic. Yum install -y yum-utils device-mapper-persistent-data lvm2 Install Docker-CE (not just “docker) to get the latest version on CentOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |