mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-25 05:37:32 +00:00
9 lines
360 B
Text
9 lines
360 B
Text
[[procedure-run-docker-using-sudo]]
|
|
= Run Docker using [command]`sudo`
|
|
|
|
. Set up [command]`sudo` as shown in *Using sudo to give/limit admin privileges*
|
|
. Create an alias for running the docker command:
|
|
----
|
|
alias docker="sudo /usr/bin/docker"
|
|
----
|
|
When the user executes the docker command as non-root, sudo will be used to manage access and provide logging.
|