docker version with sudo
This commit is contained in:
parent
2717d9f5c2
commit
388fd6ac46
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
if [ -n "$(docker --version 2>/dev/null | grep 'podman')" ]; then \
|
||||
if [ -n "$(sudo docker --version 2>/dev/null | grep 'podman')" ]; then \
|
||||
if ! sudo test -d "/var/cache/containers"; then \
|
||||
sudo mkdir -m 700 -p /var/cache/containers; fi;\
|
||||
if ! sudo test -f "/var/cache/containers/short-name-aliases.conf"; then \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue