Изменил проверку docker
This commit is contained in:
parent
27641ff6a7
commit
ea2db5cb0e
@ -89,7 +89,7 @@ $osRelease = Get-Content /etc/os-release | ConvertFrom-StringData
|
||||
|
||||
# Проверяем установлен ли Docker
|
||||
|
||||
if (IsInstalled-Docker) {
|
||||
if (Get-Command "docker" -ErrorAction SilentlyContinue) {
|
||||
Write-Host "Docker установлен."
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user