You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docker/docker_tools.py
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -276,8 +276,8 @@ def init(
276
276
# Per the `Docker docs <https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user>`_, enable running Docker as a non-root user.
277
277
#
278
278
# Ignore errors if the groupadd fails; the group may already exist.
279
-
xqt('sudo groupadd docker', check=False)
280
-
xqt('sudo usermod -a -G docker $USER')
279
+
xqt("sudo groupadd docker", check=False)
280
+
xqt("sudo usermod -a -G docker $USER")
281
281
282
282
# Until group privileges to take effect, use ``sudo`` to run Docker.
0 commit comments