mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-12-01 07:39:48 +00:00
Add new file
This commit is contained in:
parent
6a72958609
commit
1533907d95
1 changed files with 9 additions and 0 deletions
9
en-US/modules/procedure-run-docker-using-sudo.adoc
Normal file
9
en-US/modules/procedure-run-docker-using-sudo.adoc
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[[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.
|
Loading…
Reference in a new issue