Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以从终端控制台(Ubuntu)手动启动 OpenMapTiles 服务器,但是如何在启动机器时让它自动启动,而不需要登录用户?
有什么方法可以在 /etc/init.d 或其他方式中启动它吗?
docker run --rm -it -d -v /root:/data -p 8080:80 klokantech/openmaptiles-server
放入 /etc/rc.local
-d - 选项用于分离并在后台模式下运行