After a long period of transplantation and information query, I was able to solve the problems with embedded docker. A lot of information on the Internet is copy and paste, and it is very distressing to not be able to find a suitable solution. I hope that some of the experience I have summarized in solving problems can reduce some burdens for my friends! 1.standard file not found: Solution: tar zcvf xtables /usr/lib64/xtables cp xtables.tar /work/initramfs/ Need to go to another server with the same kernel and system to package and decompress 2. iptables support is required to start docker. Transplant iptables and start docker error: Solution: docker --iptables=false nohup docker --iptables=false >/1.txt 2>&1 & (background start) 3. Lack of network connection module of NAT firewall: Solution: modprobe iptable_nat 4. There is a problem entering the docker image, the veth module is missing, load it directly Solution: modprobe veth 5. The file system of the docker image does not match, pivot root invalid arguments Solution: cat >/etc/systemd/system/docker.service.d/10-ramdisk.conf <<EOF > [Service] > Environment=DOCKER_RAMDISK=true > EOF export DOCKER_RAMDISK=true Kill the docker started by the method just now and restart it. Two additional points: After completing the above steps, the transplanted Docker can be used, but occasionally the following problem may occur. If there is missing DNS file content, just transfer the resolv.conf file of any machine and it will be OK. Attached is a picture of the module driver loaded after transplantation: The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Vue implements multiple ideas for theme switching
>>: MySQL 8.0.13 download and installation tutorial with pictures and text
Table of contents 1. Solution 2. Let the browser ...
Install grafana. The official website provides an...
1. Introduction I wrote an article before: The pr...
1. Introduction to Prometheus Prometheus is an op...
Nginx, pronounced "engine x," is an ope...
Table of contents 2. Comma operator 3. JavaScript...
This article example shares the specific code of ...
Table of contents Congruent and Incongruent congr...
1. Design source code Copy code The code is as fol...
1. What is semanticization? Explanation of Bing D...
Table of contents 1. Scenario description: 2. Cas...
"Tik Tok" is also very popular and is s...
0x0 Parameter verification Most of the parameter ...
During the development and debugging process, it ...
Flex layout is undoubtedly simple and easy to use...