In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the "openwrt how to install docker and start" related knowledge, editor through the actual case to show you the operation process, the method of operation is simple and fast, practical, I hope that this "openwrt how to install docker and start" article can help you solve the problem.
OpenWRT
OpenWrt can be described as an embedded Linux distribution. (mainstream router firmware has dd-wrt,tomato,openwrt,padavan four categories) compared to a single, static system, OpenWrt package Management provides a fully writable file system, from the selection and configuration provided by the application vendor, and allows you to customize the device to suit any application.
For developers, OpenWrt uses frameworks to build applications without having to build a complete firmware to support them; for users, this means that they have the ability to be fully customized and can use the device in an unprecedented way.
Download docker and dockerd in the package
You can also download the ipk file and install it.
After successful installation, start xshell and connect to openwrt
Execute / etc/init.d/dockerd to start the daemon service of docker
Execute if you want dockerd to start itself.
Ln-s / etc/init.d/dockerd / etc/rc.d/S100docker
Establish a soft connection and start the docker service when the system loads
The following is the command to pull the image of Azure Dragon panel and create a container
Docker run-dit\-v / mnt/mmcblk2p4/ql/config:/ql/config\-v / mnt/mmcblk2p4/ql/log:/ql/log\-v / mnt/mmcblk2p4/ql/db:/ql/db\-v / mnt/mmcblk2p4/ql/scripts:/ql/scripts\-v / mnt/mmcblk2p4/ql/repo:/ql/repo\-v / mnt/mmcblk2p4/ql/raw:/ql/raw\-v / mnt/mmcblk2p4/ql/jbot:/ Ql/jbot\-network host\-e ENABLE_HANGUP=true\-e ENABLE_TG_BOT=true\-e ENABLE_WEB_PANEL=true\-- name qinglong\-- hostname qinglong\-- restart always\ whyour/qinglong:latest
After the container runs, the browser opens Azure Dragon panel ip:5700.
View the configuration file and modify the required parameters (prefix, whether to automatically generate scheduled tasks during the pull script, etc.)
Execute the command docker exec-it qinglong ql repo https:*.git or docker exec-it qinglong ql raw https:**.gee in xshell
Or add ql command execution to the scheduled task
Check jdCookies.js when the script executes errors. The custom blacklist can be operated in jdCookies.js (re-pulling the library will overwrite the modified content). Note that the pull command sets the jdCookies.js and other dependencies to the blacklist.
Execute the following command to initialize after the pull script is completed, otherwise there will be a lack of dependencies
Docker exec-it qinglong bash-c "cd scripts & & npm I"
Lack of module during script execution, such as png-js or md5
Command installation depends on docker exec-it qinglong bash-c "cd scripts & & npm I-S png-js" docker exec-it qinglong bash-c "cd scripts & & npm I-S jsdom" about "how to install docker and start openwrt". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.