参考: https://github.com/docker-library/golang/issues/467
docker run增加参数--security-opt seccomp=unconfined
docker-compose增加参数security_opt
实例如下:
version: '3'
services:
ollama:
image: ollama/ollama
container_name: ollama
security_opt:
- seccomp:unconfined
ports:
- "11434:11434"
volumes:
- ./.ollama:/root/.ollama
a说: <script>alert('ok')</script>