Skip to content

Commit

Permalink
Run docker as docker:docker user
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsaDK committed Nov 12, 2023
1 parent 1b0bef4 commit 8229af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apkovl/usr/local/sbin/setup-localhost
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if type -t docker > /dev/null; then
echo
echo 'Update docker daemon config ...'
sed -i \
-E "s/(\"userns-remap\"): \"default\"/\1 \"${SSH_USER}:docker\"/" \
-E "s/(\"userns-remap\"): \"default\"/\1 \"docker:docker\"/" \
/etc/docker/daemon.json

echo
Expand Down

0 comments on commit 8229af7

Please sign in to comment.