相关疑难解决方法(0)

Dockerfile - 如何将答案传递给apt-get install后的提示?

在我的Dockerfile中,我正在尝试安装jackd2包:

RUN apt-get install -y jackd2
Run Code Online (Sandbox Code Playgroud)

它安装正确,但安装后,我可以看到以下提示:

If you want to run jackd with realtime priorities, the user starting jackd
needs realtime permissions. Accept this option to create the file
/etc/security/limits.d/audio.conf, granting realtime priority and memlock
privileges to the audio group.

Running jackd with realtime priority minimizes latency, but may lead to
complete system lock-ups by requesting all the available physical system
memory, which is unacceptable in multi-user environments.

Enable realtime process priority? [yes/no]
Run Code Online (Sandbox Code Playgroud)

```

在这一点上,我想回答是或否,点击进入并继续前进但我不知道如何在dockerfile中编写脚本并且我的构建在那里挂起.

bash docker dockerfile

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

bash ×1

docker ×1

dockerfile ×1