Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: add Bottlerocket section to rootless Podman
  • Loading branch information
krispage authored May 22, 2025
commit b664cb202d9c6b8c6c4845526c080a90e6511838
18 changes: 18 additions & 0 deletions docs/admin/templates/extending-templates/docker-in-workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,24 @@ Before using Podman, please review the following documentation:
> For more information around the requirements of rootless podman pods, see:
> [How to run Podman inside of Kubernetes](https://www.redhat.com/sysadmin/podman-inside-kubernetes)

### Bottlerocket
To use rootless Podman on [Bottlerocket](https://github.com/bottlerocket-os/bottlerocket) nodes requires enabling user namespaces on the node
> [Github.com: Bottlerocket user namespace discussion](https://github.com/bottlerocket-os/bottlerocket/discussions/3318)

You can set this in the user data on the node. If using EKS with Karpenter you can set it in the EC2NodeClass like this:

```yaml
apiVersion: karpenter.k8s.aws/v1
kind: EC2NodeClass
metadata:
name: default
spec:
# ...
userData: |
[settings.kernel]
sysctl = { "user.max_user_namespaces" = "65536" }
```

## Privileged sidecar container

A
Expand Down
Loading