quick-docs/en-US/modules/procedure-run-docker-using-sudo.adoc
Misha Husnain Ali 1533907d95 Add new file
2017-12-14 10:07:34 +05:30

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.