Skip to content

Commit c0ac5c0

Browse files
committed
Fix typos in dind-rootless sed expressions
1 parent 5157cb8 commit c0ac5c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/variant-rootless.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ To run with a different UID/GID than the one baked into the image, modify `/etc/
2323
FROM %%IMAGE%%:dind-rootless
2424
USER root
2525
RUN set -eux; \
26-
sed -i -e 's/^rootless:1000:1000:/rootless:1234:5678:/' /etc/passwd; \
27-
sed -i -e 's/^rootless:1000:/:5678:/' /etc/group; \
26+
sed -i -e 's/^rootless:x:1000:1000:/rootless:x:1234:5678:/' /etc/passwd; \
27+
sed -i -e 's/^rootless:x:1000:/rootless:x:5678:/' /etc/group; \
2828
chown -R rootless ~rootless
2929
USER rootless
3030
```

0 commit comments

Comments
 (0)