注册 登录
n/website · 8 个月前 · 1558 次浏览
u/cs9u钻石钻石会员
n/websiteu/cs9u 钻石会员 · 8 个月前

https://rustix.me/ 的容器建一个网站不行哇?

https://rustix.me/ 的容器建一个网站不行哇? 有点玩不来。

4
52
登录后参与讨论。
最佳答案楼主采纳 · 回答者获得 20 声望
linying233338 个月前2 赞同

cs9u: 运行后提示 const { spawn } = require(‘child_process’); SyntaxError: Invalid or unexpected token at internalCompileFunction (node:internal/vm:128:18) at wrapSafe (node:internal/modules/cjs/loader:1279:20) at Module._compile (node:internal/m…

u/udc2b6nr 广告
QuicksilverVPN

快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。

umami.dnsl.top 了解更多

52 条回复

你在看其中一组对话 查看全部回复
  1. linying23333 😇 钻石 2 YEARS 8 个月前

    你随便, 反正记得没有特权就行. 不能apt装软件, 要用得静态编译

    0
  2. taoye 青铜 7 个月前

    大佬 bash 也不能执行吗。。 想部署一个软件,好像做不到呀。。

    0
  3. linying23333 😇 钻石 2 YEARS 7 个月前

    干嘛不行... 你进去的交互式就是bash, 问题装不了什么软件. 很多目录都没权限读写, 要用得静态编译的纯二进制

    0
  4. taoye 青铜 7 个月前

    curl -X POST http://xxx -d 'curl -fsSL https://raw.githubusercontent.com/brokechubb/cliproxyapi-installer/refs/heads/master/cliproxyapi-installer | bash'
    然后提示:
    'bash'' 不是内部或外部命令,也不是可运行的程序
    或批处理文件

    .... 第一次用这种容器环境。。。

    0
  5. 继续这个对话 →