[GH-ISSUE #14396] unabel to install ollama into a sandbox #35112

Closed
opened 2026-04-22 19:21:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @aotto1968 on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14396

curl -fsSL https://ollama.com/install.sh | sh

Installing ollama to /usr

sudo: /usr/etc/sudo.conf is owned by uid 65534, should be 0

sudo: The switch "no new privileges" is set, which prevents sudo from running as root.

sudo: If sudo is running in a container, it might be necessary to adjust the container configuration to disable this switch.

Originally created by @aotto1968 on GitHub (Feb 24, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14396 > curl -fsSL https://ollama.com/install.sh | sh >>> Installing ollama to /usr sudo: /usr/etc/sudo.conf is owned by uid 65534, should be 0 sudo: The switch "no new privileges" is set, which prevents sudo from running as root. sudo: If sudo is running in a container, it might be necessary to adjust the container configuration to disable this switch.
GiteaMirror added the feature request label 2026-04-22 19:21:05 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 24, 2026):

Presumably if you are installing in a sandbox you don't need it to run as a service, which the default install does. Instead do a manual install.

<!-- gh-comment-id:3954638585 --> @rick-github commented on GitHub (Feb 24, 2026): Presumably if you are installing in a sandbox you don't need it to run as a service, which the default install does. Instead do a [manual install](https://github.com/ollama/ollama/blob/main/docs/linux.mdx#manual-install).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#35112